fredia commented on code in PR #25993:
URL: https://github.com/apache/flink/pull/25993#discussion_r1917796187


##########
flink-runtime/src/main/java/org/apache/flink/streaming/api/operators/InternalTimerServiceSerializationProxy.java:
##########
@@ -128,6 +128,6 @@ private <N> InternalTimerServiceImpl<K, N> 
registerOrGetTimerService(
                         
restoredTimersSnapshot.getNamespaceSerializerSnapshot().restoreSerializer();
         TimerSerializer<K, N> timerSerializer =
                 new TimerSerializer<>(keySerializer, namespaceSerializer);
-        return timerServicesManager.registerOrGetTimerService(serviceName, 
timerSerializer);
+        return timerServicesManager.restoreTimeService(serviceName, 
timerSerializer);

Review Comment:
   Removed `restoreTimeService`, and move the check of 
`priorityQueueSetFactory` into `registerOrGetTimerService`.



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

Reply via email to