Skip to content

Conversation

@lokiore
Copy link
Contributor

@lokiore lokiore commented Jan 15, 2026

Summary
Currently during transition from ANIS -> AIS (i.e. Store&Forward to Sync mode), we have a wait time to ensure that no RS has reported itself in ANIS state in last zkTimeout time. If ReplicationLogGroupWriter calls the HAGroupStoreManager during this wait time, the update is ignored and no response is sent back to ReplicationLogGroupWriter. This change is to send the remaining wait time back to caller(in this case ReplicationLogGroupWriter). To keep it consistent for all such changes and avoid users to have to update in future, updating this behavior for all setState methods in HAGroupStoreManager.

Testing
Updated ITs for checking if value returned is > 0 for cases when expected and 0 when update should go through to ZK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants