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

Extend metadata_consistency_util_test.cpp to test randomly generated routing tables for chunks inconsistencies

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sharding EMEA
    • Sharding EMEA 2023-03-06

      As part of the work done in SERVER-74083, unit tests are introduced to check the correct behaviour in detecting chunks inconsistencies. These unit tests are coded assuming a static routing table and ranges.

      The goal of this ticket is to extend metadata_consistency_util_test.cpp unit tests to generate a random routing table, being able to detect chunks inconsistencies randomly generated.

      Examples / ideas of random inconsistencies:

      • Remove N random number of chunks
      • Add tags with random ranges
      • Update the minKey of a chunk to generate overlap or a gap

            Assignee:
            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: