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

Introduce a sharding serializer for collection DDL coordinators

    XMLWordPrintable

    Details

    • Sprint:
      Sharding 2020-11-02, Sharding 2020-11-16, Sharding 2020-11-30, Sharding 2020-12-14, Sharding 2020-12-28, Sharding 2021-01-11, Sharding 2021-01-25, Sharding 2021-02-08

      Description

      This new component will be built on top of the current collection critical section and will be used to prevent DDL(drop, rename, shard, etc...) operations to be executed concurrently on the same collection, when running in a sharded cluster.

      Each DDL operation needs to enter the DDL critical section before to start and will release it on its cleanup. If a DDL operation tries to enter a critical section already occupied by another DDL operation, an exception will be thrown and will be propagated to the router.

      This component will be exposed by the CollectionShardingRuntime and will expose two main functions:

      • Enter DDL critical section (may throw exception)
      • Exit DDL critical section

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kaloian.manassiev Kaloian Manassiev
              Reporter:
              tommaso.tocci Tommaso Tocci
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: