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

Return collection version on split and merge commands

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2020-09-07

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: