Myasuka commented on a change in pull request #18741:
URL: https://github.com/apache/flink/pull/18741#discussion_r805697795
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/state/changelog/ChangelogStateBackendHandle.java
##########
@@ -237,6 +237,23 @@ public FSDataInputStream openInputStream() throws
IOException {
public Optional<byte[]> asBytesIfInMemory() {
throw new UnsupportedOperationException("Should not call
here.");
}
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ StreamStateHandleWrapper that = (StreamStateHandleWrapper) o;
+ return Objects.equals(keyedStateHandle, that.keyedStateHandle);
Review comment:
Thanks for your explanation. The deserialized `PlaceHolderStateHandle`
is not equals to previous registered one.
--
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]