Iter Failure Caused by BadPadding

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 由于BadPadding导致的Iter失败

| username: ethanlee

[TiKV Usage Environment] Production Environment
[TiKV Version] v6.5.0
[Reproduction Path] Unknown
[Client SDK] golang client 2.0.5
[Encountered Issue: Phenomenon and Impact]

Previously written data (transaction set) later encountered an error [ERROR] [] [“txn aborts”] [err_code=KV:Codec:BadPadding] [err=Error(Txn(Error(Codec(KeyPadding))))] when iterating (transaction Iter).

It was eventually determined that there was an issue with the encoding of certain keys.
The following abnormal key was found (this key was scanned using tikv-cli scan):
But it should have been:

In other words, the final delimiter should be FF but is actually 06.

| username: Billmay表妹 | Original post link

Already looking at it

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.