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

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

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

      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@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: