[SERVER-12050] "Unexpected token var" on db.currentOp() Created: 11/Dec/13  Updated: 10/Dec/14  Resolved: 01/May/14

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

Type: Bug Priority: Minor - P4
Reporter: Julien Assignee: Stennie Steneker (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian 7.2


Operating System: ALL
Participants:

 Description   
  1. mongo
    MongoDB shell version: 2.4.5
    connecting to: .../test
    shapelog:PRIMARY> db.currentOp()
    Wed Dec 11 20:21:42.193 JavaScript execution failed: SyntaxError: Unexpected token var
    Wed Dec 11 20:21:42.194 JavaScript execution failed: Error: 16722 JavaScript execution failed: SyntaxError: Unexpected token var at src/mongo/shell/types.js:L612


 Comments   
Comment by Thomas Rueckstiess [ 01/May/14 ]

Hi Julien,

We haven't heard back from you, so I'm assuming the issue is resolved. If you'd like to follow up, feel free to re-open the ticket and provide the additional information Stephen requested above.

Kind Regards,
Thomas

Comment by Stennie Steneker (Inactive) [ 18/Mar/14 ]

Hi Julien,

Apologies for the delay in follow-up. Are you still seeing this issue?

If so:

  • are you still using MongoDB 2.4.5?
  • how frequently does the error occur?
  • can you comment with the output of getBuildInfo() from the mongo shell?

Thanks,
Stephen

Comment by Julien [ 31/Dec/13 ]

Yes, sry to have confused you, I just replaced the IP with "...".

I got the error frequently this days, when mongo is under high load, (like a big map-reduce + some queries running slow or locked due to the map-reduce).

Comment by Eliot Horowitz (Inactive) [ 22/Dec/13 ]

Can you past the exact session is?
I'm confused/concerned about the "connecting to: .../test" message.
Or did you redact and replace with ...?

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