Commit Graph

6 Commits

Author SHA1 Message Date
Dan Lambright 9790a53f7c
Propagate rv to tLogs on version vector recovery (#11677)
* refactor management of cluster recovery version (crv)

- send the crv to tlogs as they rejoin cluster during recovery, not
just when an rv is computed.
- if a tlog has not yet received the crv, wait for it

* Propagate cluster recovery version to tlog for version vector recovery
Enable RECORD_RECOVER_AT_IN_CSTATE to store recovery version in cstate

* respond to review comments

* - dont sent rv to old tlog generations
- send crv after locking, if rv computed

* Remove CRV RPCs, have cursor pad beyond end tlog to RV

* Send end version in peek request to facility vv recovery

* Fix serialization in peek request interface.

---------

Co-authored-by: Dan Lambright <hlambright@apple.com>
2024-10-22 17:54:26 -04:00
Syed Paymaan Raza cd678ba55d
[logrouter] Convert actor based loops to native C++ (#11676) 2024-09-20 10:20:25 -07:00
Jingyu Zhou 1afb2d42da Fix crash due to invalid ReplyPromise 2024-08-23 17:41:39 -07:00
Jingyu Zhou fac874595f Fix logRouterPop 2024-08-23 16:46:01 -07:00
Jingyu Zhou 707e413d1e Log router refactor 2024-08-23 14:44:25 -07:00
Jingyu Zhou 8d3cb1eab5 Convert the last actor in LogRouter 2024-08-23 12:11:57 -07:00