apache / apache/hugegraph

缓存的顶点持有的label,在schema更新后(schema cache本身也更新了),导致持有的label成为一个非法的内容

Open
#1,016 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.2k
Forks
636
Avg merge
3d 11h
Merged PRs (30d)
14

Description

### Expected behavior 期望表现
1. 先访问一些顶点,或者增加顶点,使顶点放到缓存里。
2. 修改顶点的schema, 增加property。
3. 访问顶点,给顶点的property赋值可以成功。

### Actual behavior 实际表现
1. 先访问一些顶点,或者增加顶点,使顶点放到缓存里。
2. 修改顶点的schema, 增加property。
3. 访问顶点,给顶点的property赋值,提示异常,在check shcema提示property。

Contributor guide

Open the contributing guide

Research direction

Reproduce the three-step scenario described: cache vertices, add a vertex property to the schema, then assign that property on a cached vertex. Trace the vertex-cache label and schema-validation entry points involved in the failure. Done means cached vertices accept values for properties added after they were cached, without a schema-check exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.