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

Sharding tests which run under continuous stepdown must allow for lastVisibleOp to go backwards

    • Sharding 2020-03-23, Sharding 2020-04-06
    • 0

      In view_rewrite.js, the test enables sharding on a database and then shards a collection. Sharding a collection requires the database have sharding enabled. However, this can fail under unusual circumstances when a stepdown occurs between enabling sharding on the database and sharding the collection; the write to the config server indicating that the database has sharding enabled may no longer be visible (though it is guaranteed to eventually become visible).

            Assignee:
            kevin.pulo@mongodb.com Kevin Pulo
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: