Details
Description
The client used on the CSRS to execute transactions must be marked as killable on step-down in order to prevent transactions getting stuck indefinitely.
A way to do so is to add this snippet after constructing the client:
{
|
stdx::lock_guard<Client> lk(*newClient.get());
|
newClient.get()->setSystemOperationKillableByStepdown(lk);
|
}
|
Attachments
Issue Links
- is caused by
-
SERVER-74192 DDL coordinators that rely on the internal transaction API should make use of the OSI session id
-
- Closed
-