janusgraph icon indicating copy to clipboard operation
janusgraph copied to clipboard

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

Open panda0120 opened this issue 1 year ago • 0 comments

  • 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

  • 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); }

panda0120 avatar Dec 29 '24 06:12 panda0120