Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13417

Investigate changes in SERVER-45610: Some reads work while system is RECOVERING

      Description

      Downstream Change Summary

      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.)

            Assignee:
            andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 7 weeks, 2 days ago