Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
3.1.8
-
None
-
Replication
-
ALL
Description
The ReplIndexPrefetch Server Parameter in /src/mongo/db/prefetch.cpp is not thread-safe because it calls into methods in BackgroundSync that are not threads-safe.
BackgroundSync class snippet:
void setIndexPrefetchConfig(const IndexPrefetchConfig cfg) {
|
_indexPrefetchConfig = cfg;
|
}
|
|
|
IndexPrefetchConfig getIndexPrefetchConfig() {
|
return _indexPrefetchConfig;
|
}
|
Attachments
Issue Links
- is related to
-
SERVER-20096 ExportedServerParameter<T> is not thread-safe for parameters changeable at runtime.
-
- Closed
-