Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7829

Indexes are not maintained in oplog/profile capped collections

    XMLWordPrintableJSON

Details

    • 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

        Activity

          People

            Unassigned Unassigned
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: