Add a new command to the config server to commit an index to the sharding catalog

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding EMEA
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      A new command to commit a new index is necessary, the command must be idempotent, retriable and needs to support recovery.

      Additionally a new IDL must be created that will contain the persistence scheme for the new indexes collection to be stored on the config server and the caches, the scheme will be the following:

      {
          "keyPattern": <BSONOBJ>,
          "name": <String>,
          "options": <BSONOBJ>,
          "lastmod": <IndexVersion>,
          "collectionUUID": <UUID>,
          "global": <optional<bool>>
      }
      

      The commit must also bump the index version.

            Assignee:
            [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: