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

Temporary resharding collections for timeseries namespaces should be ignored when cross-checking their routing tables on test teardown

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0
    • CAR Team 2025-02-03
    • 0

      As per today, it is possible for a JS test with a balancer issuing random moveCollection commands in background to complete  its execution and move to the teardown phase while a moveCollection is still inflight.

      Such a situation was known to lead to false inconsistency errors raised by the teardown hook in charge of cross-checking the content of config.collections/chunks against config.placementHistory: SERVER-87051  introduced some extra logic to ignore metadata on regular temporary resharding collections (<dbName>.system.resharding.<originalCollUUID>) from the affected cross checks, but the filter is not able to also capture temporary collections of timeseries namespaces (<dbName>.system.buckets.resharding.<originalCollUUID>).

            Assignee:
            paolo.polato@mongodb.com Paolo Polato
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: