CheckShardFilteringMetadata hook should wait for all resharding operation to drain

XMLWordPrintableJSON

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

      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
              Reporter:
              Tommaso Tocci
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: