-
Type:
Task
-
Status: New
-
Priority:
Medium
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Epic Link:
-
Documentation Impact:Unset
Adjust last_ordered_3pc and update the watermarks on a non-primary backup replica upon reception of PrePrepare if the replica has not ordered any 3PC-batches in this view yet. This will be a workaround for a case of faulty restoration of pp_seq_no on the backup's primary when view_no from the persisted triad (inst_id, view_no, pp_seq_no) coincides with view_no of the current pool view but actually the latter is a different view, not the view which the persisted triad relates to. (See comments to INDY-1759 for details.)
Currently we already do a similar adjustment of last_ordered_3pc on a non-primary backup replica but we do it on gathering a prepared certificate rather than just on reception of a PrePrepare. This was implemented for proceeding ordering on non-primary backup replicas after a catch-up. Loosing the condition for last_ordered_3pc adjustment will not break ability of a non-primary backup replica to proceed ordering after a catch-up.
- is blocked by
-
INDY-1759 Use persisted last_pp_seq_no for recovery of backup primaries
-
- Complete
-