-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.5.5
-
ALL
test@test:PRIMARY(2.5.5) > for (i=0;i<10;i++) db.foo.insert({test:"test"+i}) 2014-02-14T11:28:25.664-0800 DBClientCursor::init call() failed 2014-02-14T11:28:25.666-0800 Error: error doing query: failed at src/mongo/shell/query.js:81 2014-02-14T11:28:25.668-0800 trying reconnect to 127.0.0.1:40001 (127.0.0.1) failed 2014-02-14T11:28:25.668-0800 reconnect 127.0.0.1:40001 (127.0.0.1) ok test@test:PRIMARY(2.4.8) > for (i=0;i<10;i++) db.foo.insert({test:"test"+i}) 2014-02-14T11:28:27.415-0800 batch failed, cannot aggregate results: no such cmd: insert at src/mongo/shell/batch_api.js:612 test@test:PRIMARY(2.4.8) > test@test:PRIMARY(2.4.8) > test@test:PRIMARY(2.4.8) > for (i=0;i<10;i++) db.foo.insert({test:"test"+i}) 2014-02-14T11:28:32.270-0800 batch failed, cannot aggregate results: no such cmd: insert at src/mongo/shell/batch_api.js:612 test@test:PRIMARY(2.4.8) > db.foo.insert({test:"test1"}) 2014-02-14T11:28:39.309-0800 batch failed, cannot aggregate results: no such cmd: insert at src/mongo/shell/batch_api.js:612 test@test:PRIMARY(2.4.8) > exit bye asyasmacbook:scripts asya13$ mongo --port 40001 MongoDB shell version: 2.5.5 connecting to: 127.0.0.1:40001/test test@test:PRIMARY(2.4.8) > db.foo.insert({test:"test1"}) Inserted 1 record(s) in 5ms test@test:PRIMARY(2.4.8) >
Without exiting the shell, it was trying to speak 2.5.5 even though the server was now 2.4.8
- is duplicated by
-
SERVER-12933 v2.6 shell incompatible with server v2.4 inserts
- Closed
-
SERVER-14571 adding tags on 2.4 config DB from 2.6 mongo shell is no-op
- Closed
- is related to
-
SERVER-38718 mongo shell does not re-check for startup warnings on reconnect
- Closed