mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? No ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Refactor ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Are you introducing any new config? If yes, do you have tests with and without them being set? no ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description In CurrentOp for index builds, print stats on all shards (not just the top 1). ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request enhances the current operation reporting by including detailed index build statistics. - `current_op.c`: Refactored to print all index build stats, including phase, blocks done, blocks total, and documents done/total. - `current_op.c`: Added `PhaseToUserMessage` function to convert phase strings to user-friendly messages. - `isolation-currentop-createindex.out`: Updated test output to include new index build stats. - `isolation-setup.spec`: Modified test setup to check for new progress fields in the current operation output. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->