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

Shard object lifetime shoud be managed by the ShardRegistry

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.5
    • Component/s: Sharding
    • Labels:
      None

      Description

      The Shard object should become the container for all shard connections, targeting and monitoring logic.

      Thus, it should be made non-copyable and it's lifetime should be managed by the ShardRegistry.

      A new type ShardId should be introduced, which will be used in all places which store Shard values currently.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: