-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
If anything in the docs suggests that you should be able to run 'listDatabases'/'listCollections'/other commands (see changes) just fine while not in primary or secondary state, then those docs should be adjusted.
No changes necessary otherwise. This ticket just made it so that the eligibility for those commands is the same as for commands like 'find' and 'count'.
Description of Linked Ticket
While the replication system is in RECOVERING, we cannot read collection data (error code NotMasterOrSecondary). However, provided we have allowed secondary reads, we CAN do a listDatabases or listCollections or listIndexes. This seems bad, since the results of these reads may represent database states which are inconsistent or at a point in time prior to a previously reported lastDurable time of the node.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- documents
-
SERVER-45610 Some reads work while system is RECOVERING
- Closed