Created
November 30, 2022 19:00
-
-
Save spmallette/d4ba385c137dc7f182c911a21dfd6126 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gremlin> tx = g.tx() | |
==>org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTransaction@2a04ab05 | |
gremlin> gtx = tx.begin() | |
==>graphtraversalsource[emptygraph[empty], standard] | |
gremlin> gtx.V().count() | |
==>1 | |
gremlin> gtx.addV('person') | |
==>v[a8c21f2a-4a1a-6220-e702-ed65df4e290a] | |
gremlin> // wait 10 minutes | |
==>true | |
gremlin> gtx.V().count() | |
==>1 | |
gremlin> gtx.tx().commit() | |
==>null | |
gremlin> gtx.V().count() | |
org.apache.tinkerpop.gremlin.process.remote.RemoteConnectionException: java.lang.IllegalStateException: Client is closed | |
Type ':help' or ':h' for help. | |
Display stack trace? [yN]n | |
gremlin> g.V().count() | |
==>1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment