Error messages and logging should not assume collection was dropped and recreated on epoch change

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Sharding 2020-03-09, Sharding 2020-03-23
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are a few places where we log or return an error message when a sharded collection's epoch changes that assume the collection was dropped and recreated (e.g. here). Previously this was correct, but as of 4.4 refining a collection's shard key can also change the epoch, so such messages/logs are misleading and should be updated.

            Assignee:
            Jack Mulrow
            Reporter:
            Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: