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

CheckShardFilteringMetadata hook should wait for all resharding operation to drain

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 8.0.0-rc1
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL

      In suites that performs config server replicaset stepowns (e.g. sharding_csrs_continuous_config_stepdown) it could happen that resharding operation continue to run even after the balancer has been correctly stop. When this happens, CheckShardFilteringMetadta hook would run concurrently with the resharding operation reading the catalog while it is in an inconsistent state. Thus it could potentially return false positives.

      We should make sure that no DDL operations in flight while running CheckShardFilteringMetadata.

            Assignee:
            Unassigned Unassigned
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: