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

Make DatabaseCache causally consistent through the usage of ComparableDatabaseVersion

    • Fully Compatible
    • Sharding 2020-08-10

      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@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: