Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue about upgrade from 3.1.0.3 to 3.3.0.3 #25940

Closed
enix223 opened this issue May 27, 2024 · 2 comments
Closed

Issue about upgrade from 3.1.0.3 to 3.3.0.3 #25940

enix223 opened this issue May 27, 2024 · 2 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@enix223
Copy link

enix223 commented May 27, 2024

After upgrading tdengine from 3.1.0.3 to 3.3.0.3, the server keep logging MND ERROR trans:12443, stage keep on commitAction since Transaction context switch, failedTimes:178. Although I can connect to the server with taos client and jdbc, I am not sure is there any potential defect about this logs?

05/27 13:16:05.215477 00000034 C DND The daemon initialized successfully
05/27 13:16:05.595924 00000079 C MND trans:12443, continue to execute, stage:commitAction createTime:1716282892835 topHalf:1
05/27 13:16:05.595998 00000079 C MND trans:12443, action:0 not executed since Transaction context switch. numOfActions:1
05/27 13:16:05.596016 00000079 C MND ERROR trans:12443, stage keep on commitAction since Transaction context switch, failedTimes:10
05/27 13:16:05.609592 00000078 C MND vgId:6, state changed by status msg, old state:leader restored:0 canRead:0 new state:leader restored:1 canRead:1, dnode:1
05/27 13:16:05.609638 00000078 C MND db:1.ishare_report, stateTs changed by status msg, old stateTs:1716815764604 new stateTs:1716815765609
05/27 13:16:05.609646 00000078 C MND vgId:646, state changed by status msg, old state:follower restored:0 canRead:0 new state:leader restored:1 canRead:1, dnode:1
05/27 13:16:05.609654 00000078 C MND db:1.tmq_test_callback, stateTs changed by status msg, old stateTs:1716815748571 new stateTs:1716815765609
05/27 13:16:05.609660 00000078 C MND vgId:7, state changed by status msg, old state:follower restored:0 canRead:0 new state:leader restored:1 canRead:1, dnode:1
05/27 13:16:05.609726 00000078 C MND vgId:647, state changed by status msg, old state:follower restored:0 canRead:0 new state:leader restored:1 canRead:1, dnode:1
05/27 13:16:07.605237 00000079 C MND trans:12443, continue to execute, stage:commitAction createTime:1716282892835 topHalf:1
05/27 13:16:07.605316 00000079 C MND trans:12443, action:0 not executed since Transaction context switch. numOfActions:1
05/27 13:16:07.605325 00000079 C MND ERROR trans:12443, stage keep on commitAction since Transaction context switch, failedTimes:11
05/27 13:16:09.613426 00000079 C MND trans:12443, continue to execute, stage:commitAction createTime:1716282892835 topHalf:1
05/27 13:16:09.613511 00000079 C MND trans:12443, action:0 not executed since Transaction context switch. numOfActions:1
05/27 13:16:09.613518 00000079 C MND ERROR trans:12443, stage keep on commitAction since Transaction context switch, failedTimes:12
05/27 13:16:11.619087 00000079 C MND trans:12443, continue to execute, stage:commitAction createTime:1716282892835 topHalf:1
05/27 13:16:11.619218 00000079 C MND trans:12443, action:0 not executed since Transaction context switch. numOfActions:1
05/27 13:16:11.619228 00000079 C MND ERROR trans:12443, stage keep on commitAction since Transaction context switch, failedTimes:13
@enix223 enix223 added help wanted Extra attention is needed question Further information is requested labels May 27, 2024
@enix223 enix223 closed this as completed May 27, 2024
@enix223 enix223 reopened this May 29, 2024
@enix223
Copy link
Author

enix223 commented May 29, 2024

Result of show transaction:

     id      |       create_time       |     stage      |       oper       |               db               |             stable             | failed_times |     last_exec_time      |        last_action_info        |
========================================================================================================================================================================================================================
       12443 | 2024-05-21 09:14:52.835 | commitAction   | update-uptime    |                                |                                |         3393 | 2024-05-29 10:27:55.187 | action:0 code:0x0(success)     |

And I try to kill the transaction but no luck:

taos> kill transaction 12443;

DB error: Invalid transaction stage (0.004405s)

@yu285
Copy link
Contributor

yu285 commented Aug 22, 2024

please update it to 3.3.2.0 , we have fixed similar issue .

@yu285 yu285 closed this as completed Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants