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

Verify the temporary resharding collection's contents remained the same after the rename

    • Cluster Scalability

      This would be added to the ReshardingTest fixture. ReshardingTest#_checkConsistency() compares the contents of the existing sharded collection with the temporary resharding collection. It is conceivable (albeit unlikely) that the sharded collection ends up with different contents than what was in the temporary resharding collection. For completeness, we should also confirm that the contents of the existing sharded collection after the reshardCollection command has returned match the contents of the temporary resharding collection previously read. Max's thought would be to either run the dbHash command for the particular namespace before and after or $out the contents of the temporary resharding collection and use DataConsistencyChecker.getDiff().

            Assignee:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: