Open chaochn47 opened 1 week ago
/retest
Hi @wenjiaswe, as the bot suggested, could you please take a look at the backport PR?
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ahrtr, chaochn47
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/retitle [3.5] Backport fix tx buffer inconsistency if there are unordered key writes in one tx
Testing just dedup function is not enough to ensure there is no regression with the backport. Code differences should make us even more careful and ensure the change is tested instead of removing tests if it's not convenient.
Thanks for catching this. Just realized replacing schema
with buckets
should be able to backport the test coverage of this change in batch_tx_test.go
.
as the issue is internal and requires other changes that were done on main branch to be visible.
Hi @serathius could you please elaborate what the other change is in main branch that was disclosing this bug?
Is it because another NEW key value was written into the non-key buckets without proper lexicographical order?
This means we should not rush this backport.
Agreed. Safety of correctness is the key for release branches. Could you please suggest what additional safeguard / testing coverage we should have before committing this back port?
/retest
Fix tx buffer inconsistency if there are unordered key writes in one tx.
This bug fix seems like an important one we need to get into release branch in https://github.com/etcd-io/etcd/issues/18846.
WDTY? @ahrtr @serathius @fuweid @ivanvc
Notes:
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.