-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.1.8
-
Component/s: Replication
-
None
-
Replication
-
ALL
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; }
- is related to
-
SERVER-20096 ExportedServerParameter<T> is not thread-safe for parameters changeable at runtime.
- Closed