Implement the persist/recover functionalities of the VectorClock

XMLWordPrintableJSON

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

      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
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: