Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2181

Allow ctrl+c to break out of a long running process in Gremlin Console

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.3.5
    • Fix Version/s: 3.3.7, 3.4.2
    • Component/s: console
    • Labels:
      None

      Description

      We've long wanted this one - you screw up and hit enter on g.V() on a billion vertex graph. Only thing you can do to stop it is kill the console. Intercept ctril+c and translate that to an interrupt of the main thread. If the main thread is doing something that respects a call to Thread.interrupt() then the process will stop and return control to the user.

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              spmallette Stephen Mallette

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment