vldpyatkov commented on code in PR #1217:
URL: https://github.com/apache/ignite-3/pull/1217#discussion_r998104513


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/TxState.java:
##########
@@ -21,7 +21,6 @@
  * Transaction state.
  */
 public enum TxState {
-    PENDING,

Review Comment:
   If we are getting rid of pending state, I think, we should to modify 
TxManagerImpl#changeState method in order of it doesn't check the state null 
before CAS. The null is the certain state here, it has to check as others.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to