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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Sharding EMEA
    • Sharding EMEA 2023-03-06

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: