mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-23 00:02:37 +00:00
Add test_tablet_routing_info_after_cas_shard_bounce that verifies TABLETS_ROUTING_V1 payload is returned after an internal CAS shard bounce. The test simulates the transport-layer bounce: it creates a table whose single tablet replica lands on a shard different from the test thread, executes an LWT (which bounces), then transfers client_state via client_state_for_another_shard (preserving _original_shard) and re-executes on the tablet shard. The test asserts that check_locality() correctly detects the misrouting and returns tablet routing info. Refs SCYLLADB-2041
326 KiB
326 KiB