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

    • 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

          Issue Links

            Activity

              People

              • Assignee:
                spmallette stephen mallette
                Reporter:
                spmallette stephen mallette
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: