Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58162

Investigate ReplicationCoordinator::canAcceptWritesFor condition in requiresTimestampForCatalogWrite

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2021-09-20

      The requiresTimestampForCatalogWrite function returns whether we should enforce that a given catalog must be timestamped. As a part of SERVER-47867, a check for ReplicationCoordinator::canAcceptWritesFor was added when making this determination. However, it is not immediately clear what the purpose of this condition is. We should look into this and either remove the condition or leave a comment explaining why it is needed.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: