Repository navigation
test(storage): cover concurrent v1 quota PUTs - #176
Merged
Merged
Conversation
Add a four-node validation case for the v1 ledger lock sequence, concurrent PUT responses, and hard-quota enforcement. Co-Authored-By: heihutu <heihutu@gmail.com> Co-Authored-By: zhi22915 <qiuzgang@gmail.com> Co-Authored-By: qunjiazhu <qunjiazhu@gmail.com>
Refresh the reviewed storage runner and case catalog digests after validating the selector and the positive and negative oracles. Co-Authored-By: heihutu <heihutu@gmail.com> Co-Authored-By: zhi22915 <qiuzgang@gmail.com> Co-Authored-By: qunjiazhu <qunjiazhu@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
Refs rustfs/rustfs#9690 and rustfs/backlog#3381.
Summary of Changes
Add selectable storage case
source-procedure.storage.stor-137(STOR-137) on the existing four-node, 16-disk topology. A warm PUT must report exactly one v1 ledger acquisition for each of admission, commit marker, and settlement under the same request ID. The case records the HTTP statuses and RustFS error causes for 64 concurrent 32 MiB PUTs. A separate one-byte bucket quota must reject the next byte and leave the rejected key absent.Run the case with a RustFS candidate that contains the v1 admission change. A burst can still see HTTP 503 under contention, so the case retains the 503 evidence and separately asserts progress and the lock count.
Verification
Impact
The case uses the existing configured-endpoint validation workflow and runs when explicitly selected. It creates temporary test buckets on the suite's managed test topology.