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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.3.5
    • 3.3.7, 3.4.2
    • console
    • 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

        Issue Links

          Activity

            People

              spmallette Stephen Mallette
              spmallette Stephen Mallette
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: