[SERVER-48717] Implement the persist/recover functionalities of the VectorClock Created: 11/Jun/20  Updated: 09/Aug/20  Resolved: 16/Jul/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Pierlauro Sciarelli
Resolution: Done Votes: 0
Labels: PM-1645-Milestone-3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-49194 Define VectorClockDocument IDL type f... Closed
depends on SERVER-49295 Add upsert parameter to PersistentTas... Closed
depends on SERVER-49308 Allow to advance any VectorClock time... Closed
depends on SERVER-49315 Allow definition of custom vector clo... Closed
is depended on by SERVER-46202 Implement ShardRegistry on top of Rea... Closed
is depended on by SERVER-49192 Persist the VectorClock for configTim... Closed
is depended on by SERVER-49193 Recover the VectorClock on shard prim... Closed
is depended on by SERVER-49400 Differenciate VectorClock persist beh... Closed
Sprint: Sharding 2020-07-13, Sharding 2020-06-29, Sharding 2020-07-27
Participants:

 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.


 Comments   
Comment by Githook User [ 16/Jul/20 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-48717 Implement the persist/recover functionalities of the VectorClock [last additional changes]
Branch: master
https://github.com/mongodb/mongo/commit/d760da5e25d5de81fc144e818fb612661adb4728

Comment by Githook User [ 16/Jul/20 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-48717 Implement the persist/recover functionalities of the VectorClock
Branch: master
https://github.com/mongodb/mongo/commit/97fd38d397f586d2d296714cfe3a27dafb37b26a

Generated at Thu Feb 08 05:17:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.