mgmt = graph.openManagement()
it=mgmt.getOpenInstances().iterator(); while (it.hasNext()){ nxt=it.next(); if(!nxt.contains("current")) mgmt.forceCloseInstance(nxt)}
mgmt.commit()
Last active
October 10, 2023 10:14
-
-
Save mohataher/2fefc2c24766d5277d68 to your computer and use it in GitHub Desktop.
Gremlin query to close all management instances in Titan database.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks