Do not assume that the collection is always sharded in ShardServerProcessInterface::checkRoutingInfoEpochOrThrow method

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.2, 5.1.0-rc0
    • Affects Version/s: 5.0.0-rc8
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Sharding EMEA 2021-07-26
    • 145
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This code currently assumes that the collection is always sharded. When that's not the case, it ends up calling the ChunkManager::getVersion method that wasn't designed to be called over unsharded collections.

              Assignee:
              Sergi Mateo Bellido
              Reporter:
              Sergi Mateo Bellido
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: