-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
v4.0, v3.6
-
Sharding 2018-12-17
-
0
refreshLogicalSessionCacheNow can run in parallel with logical sessions cache refresh thread and hence call LogicalSessinsCacheImpl::_refresh method concurrently which will result in returning duplicate key error.
As refreshLogicalSessionCacheNow is a part of test its ok to ignore the duplicate key status in some cases to improve test reliability.