All vector clock related future chains capture a non-shared reference to this (e.g. here or here). This can be problematic when a continuation executes during shutdown because the vector clock may be cleared up before a thread tries to access it.
The solution will be to always pass "this, self = shared_from_this()" to continuations.
- causes
-
SERVER-88650 Deadlock in VectorClockMongoD during shutdown
- Closed