Bug Triggered by Modifying Parameters with tiup cluster edit-config

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

Original topic: tiup cluster edit-config修改参数触发的bug

| username: Kamner

[TiDB Usage Environment] Production Environment
[Encountered Problem: Problem Phenomenon and Impact]

Edit cluster parameters, modify the parameter performance.txn-total-size-limit:5368709120

tiup cluster edit-config

When saving and exiting using the shortcut key “ZZ”, it prompts a parameter value issue

Please check change highlight above, do you want to apply the change? [y/N]:(default=N)

Saw that the parameter value changed from the original 3221225472 to 5368709120 concatenated

Accidentally pressed CTRL+ C, the interface became like this and couldn’t exit