dosubot[bot] commented on issue #2719: URL: https://github.com/apache/incubator-hugegraph/issues/2719#issuecomment-2574479490
<!-- Answer --> Updating the attributes of a vertex affects the edge cache because the cache invalidation mechanism is triggered by any vertex update, not just changes to the edge structure or query results. This is due to the current implementation, which lacks a precise strategy to selectively update only the affected edges. As a result, the entire edge cache is cleared to maintain consistency, even if the edge structure and query results remain unchanged <sup>[[1]](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/cache/CachedGraphTransaction.java)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/24822df9-ac18-4269-9062-cbedcfb4e26f?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/24822df9-ac18-4269-9062-cbedcfb4e26f?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/24822df9-ac18-4269-9062-cbedcfb4e26f?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/24822df9-ac18-4269-9062-cbedcfb4e26f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/24822df9-ac18-4269-9062-cbedcfb4e26f?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/24822df9-ac18-4269-9062-cbedcfb4e26f?feedback_type=other)</sup> -- 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]
