Skip to content

different document result (runCommand) localhost/remote #5

@fvonschrenk

Description

@fvonschrenk

I got 2 results for

dm.db.runCommand(new Document("getLastError:")).add(onCheckInsertError);

insert on localhost (

db.version()
1.8.1

db.person.find()
{ "_id" : ObjectId("4e99be6fea8eed1891bd0546") }

The record will be inserted with this result

"document" Object (@98e10a1)
connectionId 10 [0xa]
err null
n 0
ok 1

insert on MongoLab (remote)

db.version()
1.8.2

db.person.find()
{ "_id" : ObjectId("4e99bf0c2cc361e587e6ed7b") }

The record will be inserted with this result.

"document" Object (@99edfb9)
1.53855329053509E169
n 0

on both databases the record is inserted
but the document result is different

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions