-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
v4.0, v3.6
-
Sharding 2018-11-05
-
18
The logical session cache reaper thread will initially set up the sessions collection. As a part of this, it runs createIndexes which takes a database exclusive lock. Currently, if it runs before the replication system has been set up (and its config initialized), it will wait an entire refresh interval before setting up the collection. This can cause the setup to occur at some later point while the database is up and running, and has the potential to cause transaction aborts due to lock timeouts.
- related to
-
SERVER-36921 Transaction lock timeout errors when running transactions concurrently with Logical Session Cache refreshes
- Closed