swuferhong commented on code in PR #1386:
URL: https://github.com/apache/fluss/pull/1386#discussion_r2268719690
##########
fluss-server/src/main/java/com/alibaba/fluss/server/log/LogTablet.java:
##########
@@ -1115,7 +1115,8 @@ private static void updateWriterAppendInfo(
// update writers.
WriterAppendInfo appendInfo =
writers.computeIfAbsent(writerId, id ->
writerStateManager.prepareUpdate(writerId));
- appendInfo.append(batch);
+ appendInfo.append(
+ batch,
writerStateManager.isBatchExpired(System.currentTimeMillis(), batch));
Review Comment:
It seems we need to check both for restoring state from records and
appending log as follower.
--
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]