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

Implement the persist/recover functionalities of the VectorClock

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Sharding 2020-07-13, Sharding 2020-06-29, Sharding 2020-07-27

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: