rkhachatryan commented on a change in pull request #15420:
URL: https://github.com/apache/flink/pull/15420#discussion_r656852371



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/state/changelog/inmemory/InMemoryStateChangelogWriter.java
##########
@@ -61,20 +64,26 @@ public SequenceNumber lastAppendedSequenceNumber() {
     }

Review comment:
       That's right and I agree it is confusing.
   I'm going to replace `SequenceNumber.FIRST` with a new method 
`writer.initialSequenceNumber()`. So that writer could use whatever initial 
SequenceNumber (`0L` in `InMemoryStateChangelogWriter`).




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to