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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              David Dominguez Sal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: