curcur commented on a change in pull request #15200: URL: https://github.com/apache/flink/pull/15200#discussion_r646289736
########## File path: flink-state-backends/flink-statebackend-changelog/src/main/java/org/apache/flink/state/changelog/ChangelogMapState.java ########## @@ -96,12 +164,39 @@ public boolean isEmpty() throws Exception { @Override public void clear() { + try { + changeLogger.stateCleared(getCurrentNamespace()); + } catch (IOException e) { + ExceptionUtils.rethrow(e); + } delegatedState.clear(); } + private void serializeValue( + UV value, org.apache.flink.core.memory.DataOutputViewStreamWrapper out) Review comment: org.apache.flink.core.memory.DataOutputViewStreamWrapper -> DataOutputViewStreamWrapper ########## File path: flink-state-backends/flink-statebackend-changelog/src/main/java/org/apache/flink/state/changelog/ChangelogMapState.java ########## @@ -96,12 +164,39 @@ public boolean isEmpty() throws Exception { @Override public void clear() { + try { + changeLogger.stateCleared(getCurrentNamespace()); + } catch (IOException e) { + ExceptionUtils.rethrow(e); + } delegatedState.clear(); } + private void serializeValue( + UV value, org.apache.flink.core.memory.DataOutputViewStreamWrapper out) + throws IOException { + getMapSerializer().getValueSerializer().serialize(value, out); + } + + private void serializeKey(UK key, org.apache.flink.core.memory.DataOutputViewStreamWrapper out) Review comment: org.apache.flink.core.memory.DataOutputViewStreamWrapper -> DataOutputViewStreamWrapper -- 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: us...@infra.apache.org