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

Fix tests that decide if a collection is a temporary "system.resharding" with a function that implements an accurate expression

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

      The tests use different patterns to locate if a table is created because of a resharding operations. Considering that "system.resharding" could be contained in a user table, it is necessary to have a more accurate expression to decide if the table comes from resharding. Examples of usage:

      jstests/libs/check_routing_table_consistency_helpers.js

      https://github.com/10gen/mongo/blob/19c93948d1ad3f57867ea0a6a29a5fb3d7f5dcc9/jstests/sharding/resharding_change_stream_internal_ops.js#L116

      https://github.com/10gen/mongo/blob/19c93948d1ad3f57867ea0a6a29a5fb3d7f5dcc9/jstests/change_streams/show_resharding_system_events.js#L64

      https://github.com/10gen/mongo/blob/19c93948d1ad3f57867ea0a6a29a5fb3d7f5dcc9/jstests/libs/override_methods/rs_endpoint.js#L48

            Assignee:
            Unassigned Unassigned
            Reporter:
            david.dominguez@mongodb.com David Dominguez Sal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: