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

Implement the persist/recover functionalities of the VectorClock

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Sharding 2020-07-13, Sharding 2020-06-29, Sharding 2020-07-27

      Per this section of the design, the VectorClock needs to expose ability to persist its state durably to disk and recover it so that any decision made on a cache can be recovered.

      Methods to implement:

      • Persistence
        persist : scheduling a task to persist the vector clock document and returning a future
        waitForInMemoryVectorClockToBePersisted: waiting on the future returned by persist
      • Recovery
        recover : scheduling a task to recover the vector clock document from disk and returning a future
        waitForVectorClockToBeRecovered waiting on the future returned by recover.

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: