simon824 commented on issue #1939: URL: https://github.com/apache/incubator-hugegraph/issues/1939#issuecomment-1211740167
> Looks like this is a bug. > > we can update AbstractCacheNotifier: > > ``` > event.checkArgs(String.class, HugeType.class); > => > event.checkArgs(String.class, HugeType.class, Object.class); > ``` > > https://github.com/apache/incubator-hugegraph/blob/6861f12662aa0e5ffada9cbdfb0bc8af1b38a23e/hugegraph-core/src/main/java/com/baidu/hugegraph/StandardHugeGraph.java#L1566 > > or it's better to update all places where [ACTION_CLEARED](https://github.com/apache/incubator-hugegraph/search?q=ACTION_CLEARED) is used: > > ``` > this.notifyChanges(Cache.ACTION_CLEARED, HugeType.EDGE, null); > => > this.notifyChanges(Cache.ACTION_CLEARED, HugeType.EDGE); > ``` > > https://github.com/apache/incubator-hugegraph/blob/b991b6a13df9b19bba52e44b473d00bdcf678480/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CachedGraphTransaction.java#L215 Got it, thanks. I will fix 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
