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

Fix Verify State in random_moveChunk_multi_update_delete_paused_migrations.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0

      This currently uses assert.eq to compare to maps, but this is currently broken (see SERVER-91500). However, even if this was fixed, there is no guarantee that the map ordering and document key ordering would be the same between the two maps being checked, so we should manually iterate the map and use assert.docEq instead.

      Also, consider running this check after each write instead of as its own stage.

            Assignee:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Reporter:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: