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

create generic flag on OperationShardingState to prevent accessing sharded namespaces

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • 3.5.6
    • Sharding
    • Sharding

    Description

      It can currently be done by setting a shardVersion on some dummy namespace to "UNSHARDED", because OperationShardingState::getShardVersion(const NamespaceString& nss) returns version UNSHARDED if the namespace requested does not match the one set.

      It would be nice not to rely on this trick, and instead have an explicit way of ensuring an operation is unsharded.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: