lokiore opened a new pull request, #2350: URL: https://github.com/apache/phoenix/pull/2350
**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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
