JanusGraph / JanusGraph/janusgraph

After execute ConfiguredGraphFactory.drop(graphName),janusgraph log print TableNotFoundException

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

Description

- Version: 1.0.0
- Storage Backend: hbase
- Mixed Index Backend:
- Link to discussed bug: https://github.com/JanusGraph/janusgraph/discussions/4440
- Expected Behavior: no error log after drop graph
- Current Behavior:
![IMG_20241229_142111](https://github.com/user-attachments/assets/30050c99-50dd-42e7-b871-a709f14f929e)

- Steps to Reproduce:
public void dropGraph(String graphName) {
Map params = new HashMap<>();
params.put("graphName", graphName);
this.getClient()
.submit("m = " + graphName + ".openManagement();"
+ "ids = m.getOpenInstances();"
+ "for(String id : ids){if(!id.contains(\"(\")){m.forceCloseInstance(id)}};"
+ "m.commit();"
+ "ConfiguredGraphFactory.drop(graphName);"
+ "ConfiguredGraphFactory.create(graphName);"
+ "ConfiguredGraphFactory.drop(graphName);", params);
}

Contributor guide

Open the contributing guide

Research direction

Reproduce the sequence in the issue with JanusGraph 1.0.0 and the HBase storage backend, including force-closing instances and calling ConfiguredGraphFactory.drop twice. Trace the log output around the drop operations and the TableNotFoundException; done means dropping the graph no longer emits the reported error log.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.