Details
-
Bug
-
Status: Closed
-
Minor - P4
-
Resolution: Duplicate
-
None
-
None
-
ALL
Description
No indexes are updated on inserts (fast_oplog_insert does not update indexes).
> db.system.profile.ensureIndex({ns:1})
|
> db.system.profile.find({}).hint({ns:1}).explain()
|
{
|
"cursor" : "BtreeCursor ns_1",
|
"isMultiKey" : false,
|
"n" : 8,
|
... }
|
> db.system.profile.find({}).hint({ns:1}).explain()
|
{
|
"cursor" : "BtreeCursor ns_1",
|
"isMultiKey" : false,
|
"n" : 8,
|
... }
|
...
|
> db.system.profile.count()
|
12
|
...
|
> db.system.profile.count()
|
14
|
> db.system.profile.find({}).hint({ns:1}).explain()
|
{
|
"cursor" : "BtreeCursor ns_1",
|
"isMultiKey" : false,
|
"n" : 8,
|
... }
|
Attachments
Issue Links
- related to
-
SERVER-7107 Queries/getmores generate write lock stats in system.profile
-
- Closed
-
-
SERVER-12201 do not allow index entries on local.oplog.*
-
- Closed
-
-
SERVER-11611 remove DataFileMgr::insert*
-
- Closed
-