Skip to content

[Bug] edge-cache-clear should account for vertex update #1779

@javeme

Description

@javeme

Bug Type (问题类型)

logic (逻辑设计问题)

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题

Environment (环境信息)

  • Server Version: v0.12.0

Expected & Actual behavior (期望与实际表现)

edge-cache-clear should account for vertex update operations, since adjacency vertex lookups are affected by old adjacency vertex properties.

Consider adjusting to the following logic:
boolean invalidEdgesCache = this.edgesInTxSize() + updates.size() + Deletes.size() > 0;
https://github.com/hugegraph/hugegraph/blob/72baa123b135240476718f735c085577b761a970/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CachedGraphTransaction.java#L367

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions