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

Make DatabaseCache causally consistent through the usage of ComparableDatabaseVersion

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2020-08-10

      Description

      Introduce a new class called say ComparableDatabaseVersion, which allows to compare two database versions that have different epoch. This class will be use as clock for the DatabaseCache (introduced by SERVER-48992) to make it causally consistent. In particular it will be use to advance the cached database entry's time as a result of a reception of StaleDatabaseVersion.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tommaso.tocci Tommaso Tocci
              Reporter:
              tommaso.tocci Tommaso Tocci
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: