Guosmilesmile commented on code in PR #15459:
URL: https://github.com/apache/iceberg/pull/15459#discussion_r2890512037
##########
flink/v2.1/flink/src/main/java/org/apache/iceberg/flink/maintenance/operator/LockRemoverOperator.java:
##########
@@ -105,8 +105,11 @@ public void processElement(StreamRecord<TaskResult>
streamRecord) {
@Override
public void processWatermark(Watermark mark) throws Exception {
- operatorEventGateway.sendEventToCoordinator(
- new LockReleaseEvent(tableName, mark.getTimestamp()));
+ if (!Watermark.MAX_WATERMARK.equals(mark)) {
+ operatorEventGateway.sendEventToCoordinator(
+ new LockReleaseEvent(tableName, mark.getTimestamp()));
+ }
Review Comment:
Ok,make it compare with timestamp.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]