Make DatabaseCache causally consistent through the usage of ComparableDatabaseVersion

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2020-08-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Tommaso Tocci
              Reporter:
              Tommaso Tocci
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: