Skip to content

validator: add LWT test coverage for Alternator#468

Open
m-szymon wants to merge 3 commits into
scylladb:masterfrom
m-szymon:alternator_tests_part7
Open

validator: add LWT test coverage for Alternator#468
m-szymon wants to merge 3 commits into
scylladb:masterfrom
m-szymon:alternator_tests_part7

Conversation

@m-szymon

Copy link
Copy Markdown
Contributor

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_lwt test suite.

m-szymon added 3 commits May 28, 2026 13:29
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).
@m-szymon m-szymon marked this pull request as ready for review May 28, 2026 12:53
@m-szymon m-szymon requested a review from QuerthDP June 8, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant