JanusGraph / JanusGraph/janusgraph

CacheVertex leads to inconsistent behavior

Open
#1,522 2 comments 0 reactions 0 assignees View on GitHub
area/core kind/bug/possible
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

[CacheVertex](https://github.com/JanusGraph/janusgraph/blob/d12adfbf083f575fa48860daa37bfbd0e6095369/janusgraph-core/src/main/java/org/janusgraph/graphdb/vertices/CacheVertex.java#L61) doesn't take into account 'Retriever lookup' parameter while retrieving results from cache thus we get inconsistency.

Contributor guide

Open the contributing guide

Research direction

Start in janusgraph-core/src/main/java/org/janusgraph/graphdb/vertices/CacheVertex.java around line 61 and trace how cached results are retrieved. Examine how the Retriever lookup parameter affects retrieval, then identify the behavior needed when it differs. Done means cache reads no longer return inconsistent results for different lookups.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.