[SERVER-10785] Shell Javascript timeout can render shell inoperable Created: 16/Sep/13  Updated: 10/Dec/14  Resolved: 16/Sep/13

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

Type: Bug Priority: Major - P3
Reporter: Matt Kangas Assignee: Mathias Stearn
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-9238 Shell stops working after long autoco... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Discovered whilst verifying SERVER-10747. Mathias requested that I assign this to him, he knows how to fix it.

1. Run a query which blocks other queries.
2. In a mongo shell, run a query.
3. Get "JavaScript execution terminated" message in the shell
4. Now try to run anything. Your shell is hosed.

Example: using blocker query found in SERVER-10747

Window A: issue blocker query
Window B:

$ mongo
MongoDB shell version: 2.4.3
connecting to: test
> db.cu<tab>
   (~60 sec passes)
Mon Sep 16 13:40:18.711 JavaScript execution terminated
  db.cu<tab>
Mon Sep 16 13:42:58.206 JavaScript execution terminated
error2:JavaScript execution terminated
> db.cuMon Sep 16 13:43:02.450 JavaScript execution terminated
  db.cu
Mon Sep 16 13:43:21.818 JavaScript execution terminated
error2:JavaScript execution terminated
> db.currentOp();
Mon Sep 16 13:43:27.215 JavaScript execution terminated
error2:JavaScript execution terminated



 Comments   
Comment by J Rassi [ 16/Sep/13 ]

dup of SERVER-9238

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