Wei Fu 5e178e2288 mvcc/*_test.go: should not use duplicate revision.Main for one key
In commit [[1]], the newTestKeyIndex function creates one key with two
Revision{Main: 14} revisions. However, starting from version [[2]], etcd server
does not allow duplicate keys in a single transaction. This update to
newTestKeyIndex is to avoid confusion and ensure consistency with the
latest etcd server behavior.

REF:

[1]: be80d11948
[2]: https://github.com/etcd-io/etcd/pull/4376

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-07-14 17:30:47 +08:00
..
2023-10-09 14:53:16 -04:00
2024-06-13 00:15:37 -07:00
2023-09-21 21:14:09 +08:00
2024-06-25 11:45:53 +02:00
2024-06-15 10:11:34 -04:00
2024-06-15 10:11:34 -04:00
2024-06-22 00:17:13 +08:00