client-go icon indicating copy to clipboard operation
client-go copied to clipboard

txn-file: Not all txn chunks are prewrite to TiKV

Open pingyu opened this issue 1 year ago • 0 comments

From logs of client go, the transaction 449908170060201997 has following chunks:

[2024/05/21 03:51:06.217 +00:00] [INFO] [txn_file.go:801] ["build txn files"] [keyspaceName=ks1] [keyspaceID=1] [startTS=449908170060201997] [mutationsLen=130] [totalChunksSize=19234] [chunkIDs="[449908170073309190,449908170073309188,449908170073309187,449908170073309189,449908170073309192,449908170073309193,449908170073309194,449908170073309195,449908170073309199,449908170073309198,449908170073309201,449908170073309200,449908170073309203,449908170073309202,449908170073309204,449908170073309205,449908170073309207,449908170073309206,449908170073309208,449908170073309209,449908170073309211,449908170073309210,449908170073309212]"]

But some of them (449908170073309190,449908170073309188,449908170073309187,449908170073309189) was not found in logs of TiKV.

pingyu avatar May 22 '24 07:05 pingyu