You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "beryllw (via GitHub)" <gi...@apache.org> on 2026/10/19 14:51:00 UTC
Re: [PR] [tiering] Trigger job failover when coordinator epoch changes [fluss]
beryllw commented on code in PR #3923:
URL: https://github.com/apache/fluss/pull/3923#discussion_r4315142186
##########
fluss-flink/fluss-flink-common/src/test/java/org/apache/fluss/flink/tiering/source/enumerator/TieringSourceEnumeratorTest.java:
##########
@@ -829,6 +833,39 @@ void testNetworkErrorInHeartbeatTriggersFailover() throws Exception {
}
}
+ @Test
+ void testCoordinatorEpochChangeTriggersFailover() throws Exception {
Review Comment:
Could we test this through both heartbeat paths, rather than calling `checkCoordinatorEpoch()` directly? The current test would still pass if either path forgot to call the check.
It would also help to restart the coordinator and verify that both a data round and an empty round can finish after recovery.
--
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: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org