Hi, I can imagine `applyTransaction' exclusive each other, and queries can safely concurrent.
But I read some code snippets:
synchronized (transactionFutures)
... in BaseStateMachine source code. This guides me to this question.
Suppose I hold an in-memory map in the state machine, and update an
intermediate state during applyTransaction. Of course, I don't want my
users to see the intermediate state. Is it my responsibility to do lock
guards?
Best,
tison.
