Adapt the teardown test hook for checking the consistency of config.placementHistory to the behavior driven by featureFlagChangeStreamPreciseShardTargeting

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-71613 introduced the checkHistoricalPlacementMetadataConsistency set of assertion as part of a test teardown hook to verify the consistency of the most recent metadata held by config.placementHistory against the rest of the global catalog.

      With recent changes to support the introduction of V2 change stream readers, this logic should be revisited to:

      • verify whether/how it can be promoted to a background check hook
      • condition its evaluation to the activation state of the featureFlagChangeStreamPreciseShardTargeting feature flag.

            Assignee:
            Paolo Polato
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: