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

XMLWordPrintableJSON

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

      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
            Reporter:
            Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: