if you comment the if and if you run the test suite, you will get some tests failing:

```
Failed tests:   DistOptimisticTxOperationsDuringStateTransferTest>BaseOperationsDuringStateTransferTest.testReplace:342 » Execution
  DistStateTransferOnLeaveConsistencyTest.testReplaceOptimistic:115->testOperationDuringLeave:224 » Cache
  DistStateTransferOnJoinConsistencyTest.testReplaceOptimistic:117->testOperationDuringJoin:206 » Cache
  StateTransferReplicationQueueTest.testStateTransferWithNodeRestartedAndBusy:81->thirdWritingCacheTest:119 null
```