[time]time is not synchronized,cause timeout doesn't work
Closed this issue · 2 comments
asiroliu commented
Describe The Bug
When the machine running the program and the machine where the database is located are not synchronized, cause timeout doesn't work.
TXLE Version
https://github.com/actiontech/txle/commit/6bd946510f1515943e46c135d37eb1f183f30673
To Reproduce
Steps to reproduce the behavior:
- Set the database running server time is 1 minute slower than the alpha server time of the program running
- Set the timeout to 1 in @SagaStart and pause 2 seconds in the global transaction
Expected Result
the global transaction is timeout and compensation
Real Result
jiuang commented
Fixed. Use uniform server time on two sides.
See the commit log,