janusgraph
janusgraph copied to clipboard
After execute ConfiguredGraphFactory.drop(graphName),janusgraph log print TableNotFoundException
-
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<String, Object> 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); }