tkhurana opened a new pull request, #2465:
URL: https://github.com/apache/phoenix/pull/2465

   ## Summary
   - Eagerly initialize `ReplicationLogGroup` instances during RS startup 
(prewarm phase) when synchronous replication is enabled, so they are ready 
before the first mutation arrives.
   - Close all `ReplicationLogGroup` instances belonging to a server during RS 
shutdown via a new `ReplicationLogGroup.closeAll(serverName)` method.
   - Extract `serverName` capture from the test subclass into the parent 
`PhoenixRegionServerEndpoint`, removing redundant code.
   - Fix flaky `ReplicationLogDiscoveryTest` by injecting an advancing clock so 
rename timestamps are always strictly before the threshold on the next loop 
iteration.
   - Refactor `ReplicationLogBaseTest` to support configurable aligned vs 
full-round initial rotation delay, enabling 
`ReplicationLogDiscoveryForwarderTest` to use production-aligned rotation.
   
   ## Test plan
   - [x] Existing unit tests pass: `ReplicationLogGroupTest`, 
`ReplicationLogDiscoveryTest`, `ReplicationLogDiscoveryForwarderTest`
   - [x] Ran all HA related integration tests (HABaseIT subclasses)
   - [ ] Verify RS shutdown logs show `Closing all ReplicationLogGroup 
instances`
   - [ ] Verify failed eager init logs a warning and does not block startup


-- 
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]

Reply via email to