validator: add LWT test coverage for Alternator#468
Open
m-szymon wants to merge 3 commits into
Open
Conversation
Add ConditionExpression parameter to `update_item_expr` helper and exercise the LWT/Paxos code path under `only_rmw_uses_lwt` write isolation for PutItem, DeleteItem, and UpdateItem SET.
Test SET #vec[i], REMOVE #vec[i], list_append, and ADD #vec[i] on the vector column — all element-level operations are RMW and exercise the LWT/Paxos path. Verifies reindexing, de-indexing, rejection of invalid mutations (wrong type, wrong dimension), and correcting items with mixed-type or wrong-dimension vectors so they become indexable.
New test suite exercising VS indexing when every write is routed through the LWT/Paxos path via `--alternator-write-isolation=always_use_lwt`. Covers PutItem, DeleteItem, UpdateItem, and BatchWriteItem (put-only, mixed put+delete, delete-only).
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.
Add test coverage for Vector Store indexing through the LWT/Paxos code
path on Alternator writes — conditional expressions, element-level
UpdateItem operations, and a dedicated
always_use_lwttest suite.