mjsax commented on code in PR #13369:
URL: https://github.com/apache/kafka/pull/13369#discussion_r1157889646


##########
streams/src/main/java/org/apache/kafka/streams/state/internals/NamedCache.java:
##########
@@ -361,6 +361,13 @@ synchronized void close() {
         
streamsMetrics.removeAllCacheLevelSensors(Thread.currentThread().getName(), 
taskName, storeName);
     }
 
+    synchronized void clear() {

Review Comment:
   Just for my understanding -- we know that we did `flush()` the cache 
already, so it's safe to just clear it?



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to