[SERVER-1451] mongo should prompt on ctrl-c before killing current op Created: 19/Jul/10  Updated: 12/Jul/16  Resolved: 06/Apr/11

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 1.9.0

Type: Improvement Priority: Minor - P4
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Comments   
Comment by auto [ 06/Apr/11 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Make shell killOp on ctrl-c stuff work on windows too SERVER-1451
Branch: master
https://github.com/mongodb/mongo/commit/b7817b8986c958e426a5740810e0347f6a25aa2b

Comment by Dwight Merriman [ 02/Jan/11 ]

this does not work on windows. not just the prompting but the whole thing.

also there is a test for this, that is not platform specific, which will fail on windows - shellkillop.js. i am commenting that out on windows for now.

Comment by auto [ 21/Jul/10 ]

Author:

{'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}

Message: Revert "Revert "make mongo prompt before killing ops on the server SERVER-1451""

This reverts commit b392dc43b68bd20ee8ab597c6ec69fdbc4d494d7.

Yes, this is reverting the revert. Unverting if you will
http://github.com/mongodb/mongo/commit/6d7606fd1caedaa2ebb06b242e525d3016d4f0a9

Comment by auto [ 20/Jul/10 ]

Author:

{'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'redbeard0531@gmail.com'}

Message: Revert "make mongo prompt before killing ops on the server SERVER-1451"

This reverts commit 3764a1f1bcf54588a98a4bd6fedaa9961d28a899.

Need to think about how to make this work with the tests
http://github.com/mongodb/mongo/commit/b392dc43b68bd20ee8ab597c6ec69fdbc4d494d7

Comment by auto [ 19/Jul/10 ]

Author:

{'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}

Message: make mongo prompt before killing ops on the server SERVER-1451
http://github.com/mongodb/mongo/commit/3764a1f1bcf54588a98a4bd6fedaa9961d28a899

Generated at Thu Feb 08 02:57:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.