THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Type | Description | |
---|---|---|
int | Length of payload | |
short | Operation code | |
long | Request id | |
int | Cache id | |
byte | flags (new "under transaction" flag with bitmask 0x02 introduced, to indicate that operation performed under transaction) | modified |
int | Transaction id (present only if "under transaction" flag is set, i.e. if flags & 0x02 != 0) | added |
On the server side, we need to have the ability to decouple transactions from threads. We can do this by using transaction suspend/resume methods. Suspend/resume methods are only implemented for optimistic transactions now, so we need to implement this mechanism for pessimistic transactions first.
...