[SERVER-25490] Create condensed initial sync stats view in replSetGetStatus Created: 08/Aug/16 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Judah Schvimer | Assignee: | Backlog - Replication Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Replication
|
||||||||
| Participants: | |||||||||
| Description |
|
The initial sync progress information in replSetGetStatus can grow very quickly since it reports information for every collection of every database. Currently we only have a boolean for whether or not we show the initial sync progress information, but it would be good to add an extra "condensed" level that only shows database granularity statistics with counts for how many collections have been cloned rather than details on each one. As part of this improvement, it would be good to remove some of the duplicated namespaces that are shown. Currently the keys for each database are the database name, which is also included in the databases's statistics. A similar duplication occurs for collections. |
| Comments |
| Comment by Scott Hernandez (Inactive) [ 08/Aug/16 ] |
|
I don't know if we need to expose this summary flag in replSetGetStatus and we should instead just always use that mode in that command. When initial sync is done then we can print the non-condensed version, unless it is too big and then fall-back to condensed view (or some other output format). |