tillrohrmann commented on a change in pull request #7320: [FLINK-11171] Avoid 
concurrent usage of StateSnapshotTransformer
URL: https://github.com/apache/flink/pull/7320#discussion_r247960807
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/state/RegisteredKeyValueStateBackendMetaInfo.java
 ##########
 @@ -145,13 +146,13 @@ private RegisteredKeyValueStateBackendMetaInfo(
                return stateSerializerProvider.previousSchemaSerializer();
        }
 
-       @Nullable
-       public StateSnapshotTransformer<S> getSnapshotTransformer() {
-               return snapshotTransformer;
+       @Nonnull
+       public StateSnapshotTransformFactory<S> 
getStateSnapshotTransformFactory() {
+               return stateSnapshotTransformFactory;
        }
 
-       public void updateSnapshotTransformer(StateSnapshotTransformer<S> 
snapshotTransformer) {
-               this.snapshotTransformer = snapshotTransformer;
+       public void 
updateSnapshotTransformerFactory(StateSnapshotTransformFactory<S> 
stateSnapshotTransformFactory) {
 
 Review comment:
   `er` not needed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

Reply via email to