Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
2.2.0
-
None
Description
If each oplog document had a hint of which indexes were touched, we could use this information on a secondary to intelligently prefetch index pages.
Right now we always prefetch for all indexes, unless the administrator sets a manual flag to completely turn off the feature. The manual setting plus the all-or-nothing approach that the current code takes is suboptimal. On the primary, for an update operation, it knows if it had to touch indexes, so it could include this info when it logs the operation into its oplog.
We could then make the --replIndexPrefetch command line and config file option a no-op.
Attachments
Issue Links
- related to
-
SERVER-6890 prefetch all index pages for replicated delete operations
-
- Closed
-