javeme commented on code in PR #2620:
URL: 
https://github.com/apache/incubator-hugegraph/pull/2620#discussion_r1729810920


##########
hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/cache/CachedGraphTransaction.java:
##########
@@ -133,7 +133,7 @@ private void listenChanges() {
             }
             return false;
         };
-        this.store().provider().listen(this.storeEventListener);
+        this.store().provider().listenDataCacheClear(this.storeEventListener);

Review Comment:
   Note each provider has multiple listeners, which is our design intention, 
because each listener wants to get notifications.
   This modification looks a bit special at the moment, and we will propose a 
solution after we figure out the problem. Could you post the error stack if 
there is an error?
   



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to