-
Notifications
You must be signed in to change notification settings - Fork 142
dtm0: add online recovery DLD #1981
Conversation
Work in progress. Do not land.
NOTE: drlink-simple get stuck with "-n 2" for some reason.
TODOs: 1. Address todos in dtm0/ut/log.c 2. Generate "random" txd (see todo in cas-client code). 3. Fix cas UTs.
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Conflicts: be/btree.h
... to make it pass. Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Thanks for your contribution! |
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Thanks for your contribution! |
Thanks for your contribution! |
This issue/pull request has been marked as |
Thanks for your contribution! |
Thanks for your contribution! |
Thanks for your contribution! |
@rkothiya : You can consider following commit description:
|
Add DLD for the new, Online Recovery DTM0 approach. Recovery is done always and automatically now, without the need for a special RECOVERING state from Hare. In short, when there is no pmsg from some participant for a while, and it is not in TRANSIENT state, we start sending REDO msgs to it.
Also, the new log pruning process is outlined.