See linked BF
Rollback can occur concurrently with a validate command, which can result in an invariant (that the session cache is not in the shutdown state) being reached.
Prevent this by acquiring the lock earlier
See linked BF
Rollback can occur concurrently with a validate command, which can result in an invariant (that the session cache is not in the shutdown state) being reached.
Prevent this by acquiring the lock earlier