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

In Catalog shard POC, can load cluster id and version from local client

    • Fully Compatible
    • Sharding 2022-08-22
    • 2

      I experimented with disabling the ShardLocal, and it failed because it made the ShardingCatalogManager to make a remote call with local read concern. The code in head here.
      Then it hits the invariant because ShardRemote requires majority read concern here. It's just another confirmation that the ShardingCatalogManager is designed to make all calls locally, we should not mix.

      Another change is to convert the `PeriodicShardedIndexConsistencyChecker::_launchShardedIndexConsistencyChecker()` to do explicit local read.

            Assignee:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: