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

isRangeEntirelyOwned does not verify the range actually belong to the caller

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 7.3.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • 1

      isRangeEntirelyOwned is a helper to confirm a input range belongs entirely to the caller. However, the helper only checks the range belongs to 1 shards, but does not verify the returned shard is the same as the caller shard.

      The goal of this ticket is to extend the method to provide this check.

      Note the check must be extended to the unsharded case as well, making sure for the "non-routable" case to be the primary and for the "unsplittable" case to be the data shard.

            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            enrico.golfieri@mongodb.com Enrico Golfieri
            0 Vote for this issue
            6 Start watching this issue