[SERVER-1642] Remove logger does not output namespace/collection Created: 19/Aug/10  Updated: 12/Jul/16  Resolved: 26/Aug/10

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 1.6.0, 1.6.1
Fix Version/s: 1.7.0

Type: Bug Priority: Major - P3
Reporter: Justin Smestad Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 10.04, MongoDB 1.6.1


Operating System: ALL
Participants:

 Description   

Bug in the oplog for remove. All other queries follow the syntax:

[Timestamp] [connection#] [update|remove|insert] [ns] query:

{....}

byid 0ms

Example:
Thu Aug 19 18:55:54 [conn8] query mydb.users ntoreturn:1 reslen:341 nreturned:1 0ms
Thu Aug 19 18:55:56 [conn8] update mydb.users query:

{ _id: ObjectId('4c564b4c4d784c0efa0000ad') }

byid 0ms

However a remove is coming up like:
Thu Aug 19 19:02:22 [conn28] remove query: { _id:

{ $in: [ ObjectId('4c6d736853cc91398500000c') ] }

} 0ms

Missing the namespace that the object was removed from.



 Comments   
Comment by auto [ 26/Aug/10 ]

Author:

{'login': '', 'name': 'Kristina Chodorow', 'email': 'k@ubuntu.(none)'}

Message: add namespace to remove logging SERVER-1642
http://github.com/mongodb/mongo/commit/b5495c7d825b3be18ebe642aea944a27b28cd446

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