pltbkd commented on a change in pull request #18955:
URL: https://github.com/apache/flink/pull/18955#discussion_r820330879
##########
File path:
flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/sink/compactor/operator/CompactorOperatorStateHandler.java
##########
@@ -141,26 +135,68 @@ public void processElement(
throws Exception {
Either<CommittableMessage<FileSinkCommittable>, CompactorRequest>
record =
element.getValue();
- if (stateDrained) {
+ if (passingThroughAll) {
Review comment:
I prefer not to make it a state enumeration since it's not so complex in
my opinion. I suppose that a reorg of the code should be enough.
--
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]