You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched in the issues and found nothing similar.
Motivation
Currently, Fluss uses HighWatermark to ensure data synchronization between the leader and followers. However, this approach can lead to data loss or data inconsistency during cluster upgrades or when tabletServers crash. Referencing Kafka KIP-101, we plan to replace the HighWatermark mechanism in Fluss with a leader epoch update mechanism.
To achieve this goal, we need to build a consistent LeaderEpochCache across different tabletServers. The update of this LeaderEpochCache relies on the fetchLogRequest pulling the leader's RecordBatch and reading the LeaderEpoch from the batch to update the cache.
Currently, the LogRecordBatch does not include the LeaderEpoch, so it needs to be introduced, and the magic version of LogRecordBatch should be upgraded accordingly.
Solution
No response
Anything else?
No response
Willingness to contribute
I'm willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Search before asking
Motivation
Currently, Fluss uses
HighWatermark
to ensure data synchronization between the leader and followers. However, this approach can lead to data loss or data inconsistency during cluster upgrades or whentabletServers
crash. Referencing Kafka KIP-101, we plan to replace theHighWatermark mechanism
in Fluss with aleader epoch update mechanism
.To achieve this goal, we need to build a consistent
LeaderEpochCache across
differenttabletServers
. The update of thisLeaderEpochCache
relies on thefetchLogRequest
pulling the leader's RecordBatch and reading the LeaderEpoch from the batch to update the cache.Currently, the
LogRecordBatch
does not include theLeaderEpoch
, so it needs to be introduced, and the magic version ofLogRecordBatch
should be upgraded accordingly.Solution
No response
Anything else?
No response
Willingness to contribute
The text was updated successfully, but these errors were encountered: