-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
None
-
False
-
None
-
False
-
-
-
-
-
-
-
-
MP LRA coordinator does not show any unfinished TXs after server restart and it takes 2-3 minutes to show them again.
Checking LRA coordinator endpoint after server restart:
curl -s http://localhost:8080/lra-coordinator/lra-coordinator
there is 2-3 minutes delay until TXs are showed:
Wed Nov 27 12:51:02 PM CET 2024 [] Wed Nov 27 12:51:04 PM CET 2024 [] ... Wed Nov 27 12:53:22 PM CET 2024 [{"lraId":"http://localhost:8080/lra-coordinator/lra-coordinator/0_ffff0a280522_399d44cf_6747068c_1c","clientId":"org.wildfly.quickstarts.microprofile.lra.LRAParticipant1#work","status":"Active","startTime":1732708021256,"finishTime":0,"httpStatus":204,"topLevel":true,"lraIdAsString":"http://localhost:8080/lra-coordinator/lra-coordinator/0_ffff0a280522_399d44cf_6747068c_1c","recovering":false}] ...
When checking tx-object-store directory the files tx files are present:
standalone/data/tx-object-store/ShadowNoFileLockStore/defaultStore/StateManager/BasicAction/LongRunningAction/0_ffff0a280522_399d44cf_6747068c_1c
Problem is that during this time none of the unfinished TXs cannot be manipulated. For example call to cancel the transaction fails on:
$ curl -s http://localhost:8080/lra-coordinator/lra-coordinator/0_ffff0a280522_399d44cf_6747068c_1c/cancel Invalid transaction id: http://localhost:8080/lra-coordinator/lra-coordinator/0_ffff0a280522_737ae5d0_67470a72_12
- clones
-
WFLY-20026 Delayed transaction visibility in LRA coordinator after server restart
- Resolved