dosubot[bot] commented on issue #2719: URL: https://github.com/apache/incubator-hugegraph/issues/2719#issuecomment-2574470680
<!-- Answer --> The edge cache is cleared during the addition and update operations of a vertex in the `CacheGraphTransaction#commitMutation2Backend` method because any change to a vertex can potentially affect the edges linked to it. The current implementation does not have a precise strategy to update only the affected edges, so it opts to clear the entire edge cache to ensure consistency. This approach is a temporary solution until a more precise strategy is developed <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/236858b9-7f4f-4144-83ad-85e681a1a6fa?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/236858b9-7f4f-4144-83ad-85e681a1a6fa?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/236858b9-7f4f-4144-83ad-85e681a1a6fa?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/236858b9-7f4f-4144-83ad-85e681a1a6fa?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/236858b9-7f4f-4144-83ad-85e681a1a6fa?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/236858b9-7f4f-4144-83ad-85e681a1a6fa?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: issues-unsubscr...@hugegraph.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@hugegraph.apache.org For additional commands, e-mail: issues-h...@hugegraph.apache.org