JanusGraph / JanusGraph/janusgraph

enabling edge index gives storage errors

Open
#1,803 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/index
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

mgmt.updateIndex(mgmt.getRelationIndex(edge_label,'indexName'), SchemaAction.REINDEX).get()

**Timed out waiting for next row data - storage error likely**

What I tried.

I thought there is an error in the data. Dropped the edge and then created the edge and reimported the data again (bulk loading is turned off during the import).

and tried to create the index again and ran into the same issue.

I also directly enable the index(this worked) and reindex again(when doing this i ran in to the same issue)

I also get the same error when I tried to remove that index after disabling it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported mgmt.updateIndex and getRelationIndex calls, reproducing the storage error during reindexing and index removal after direct enablement. Compare the behavior of enabling, reindexing, and removing the edge index; done means identifying the storage failure and verifying the affected index operations complete successfully.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.