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

Remove the usage of the ParallelBatchWriterMutex from the ShardServerCatalogCacheLoader

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2023-06-12, Sharding EMEA 2023-06-26, Sharding EMEA 2023-07-10

      The PBWM mutex is one of the tools available to ensure that readers on secondary nodes do not see intermediate data while a batch of oplog is being applied, the other being reading at the latest applied timestamp. The latter (supposedly) happens automatically on all secondary read paths, but in the SSCCL we are explicitly taking it.

      This ticket is to (1) investigate what was the historic reason to have to acquire it explicitly in the SSCCL, rather than relying on the DBDirectClient invocations it makes to do it and (2) if feasible, to remove it and fix any fallout.

      This work should be capped at 1 iteration (2 weeks) after which if we still haven't been able to remove it, we will reassess the findings from (1) above.

            Assignee:
            allison.easton@mongodb.com Allison Easton
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: