JanusGraph / JanusGraph/janusgraph
After execute ConfiguredGraphFactory.drop(graphName),janusgraph log print TableNotFoundException
- 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:

- 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
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