Files
scylladb/alternator/executor.hh
Petr Gusev 8cf9c3eb8d alternator/executor.cc: move shard check into cas_write
This change ensures that if cas_shard points to a different shard,
the executor will continue issuing shard jumps until
cas_shard.this_shard() returns true. The commit simply moves the
this_shard() check from the parallel_for_each lambda into cas_write,
with minimal functional changes.

We enable test_alternator_invalid_shard_for_lwt since now it should
pass.

Fixes scylladb/scylladb#27353

(cherry picked from commit 3a865fe991)
2025-12-10 11:49:04 +01:00

14 KiB