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

Return collection version on split and merge commands

    • Fully Compatible
    • Sharding 2020-09-07
    • 5

      SERVER-46199 introduces a causally consistent catalog cache, which, among other consistency improvements, also optimizes the number of round trips to the config server after detecting a router is stale and needs to advance the local shard version.

      Another improvement can be achieved by returning the resulted collection version on the split chunk and merge chunks commands, because instead of fully invalidating the cache after splitting or merging, we could simply advance the shard version which in turn would only request the diff of the changes instead of a full chunk request.

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: