TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

Taoskeeper start with error Conflict transaction not completed

Open zero2hj opened this issue 1 year ago • 2 comments

The engine were deployed in helm way, reference the doc here. https://docs.tdengine.com/operations-and-maintenance/deploy-your-cluster/kubernetes-deployment

version: tdengine:3.3.6.13

error shows


12/05 14:51:11.796512 00000512 DB  ERROR QID:0x4000000000000006 latency:3.886997ms, sql:create table if not exists keeper_monitor (ts timestamp, cpu float, mem float, total_reports int ) tags (identify nchar(50)), err:[0x3d3] Conflict transaction not completed
12/05 14:51:11.796568 00000512 DB  ERROR QID:0x4000000000000006 Attempt 5 failed, error: [0x3d3] Conflict transaction not completed, retrying in 1m0s...
12/05 14:52:11.800655 00000512 DB  ERROR QID:0x4000000000000006 latency:3.816667ms, sql:create table if not exists keeper_monitor (ts timestamp, cpu float, mem float, total_reports int ) tags (identify nchar(50)), err:[0x3d3] Conflict transaction not completed
12/05 14:52:11.800726 00000512 DB  ERROR QID:0x4000000000000006 Attempt 6 failed, error: [0x3d3] Conflict transaction not completed, retrying in 1m0s...
12/05 14:53:11.805467 00000512 DB  ERROR QID:0x4000000000000006 latency:3.83614ms, sql:create table if not exists keeper_monitor (ts timestamp, cpu float, mem float, total_reports int ) tags (identify nchar(50)), err:[0x3d3] Conflict transaction not completed
12/05 14:53:11.805530 00000512 DB  ERROR QID:0x4000000000000006 Attempt 7 failed, error: [0x3d3] Conflict transaction not completed, retrying in 1m0s...

tdengine monitor config

          monitor 1
          monitorFqdn 127.0.0.1 # taoskeeper 服务的 FQDN

taoskeeper is the same as https://docs.tdengine.com/tdengine-reference/components/taoskeeper/#configuration-file

except set host to 0.0.0.0 and password set to empty

zero2hj avatar Dec 05 '25 07:12 zero2hj

run sql: show transactions\G; Check if there are any other transactions pending.

ZeLv01 avatar Dec 08 '25 01:12 ZeLv01

Thanks. After running the SQL, I got a clue about the cause.

zero2hj avatar Dec 08 '25 08:12 zero2hj