Avi Kivity
eefb6a0642
Merge 'storage_proxy: node_local_only: always use my_host_id' from Petr Gusev
...
The previous implementation did not handle topology changes well:
* In `node_local_only` mode with CL=1, if the current node is pending, the CL is increased to 2, causing
`unavailable_exception`.
* If the current tablet is in `write_both_read_old` and we try to read with `node_local_only` on the new node, the replica list will be empty.
This patch changes `node_local_only` mode to always use `my_host_id` as the replica list. An explicit check ensures the current node is a replica for the operation; otherwise `on_internal_error` is called.
backport: not needed, since `node_local_only` is only used in LWT for tablets and it hasn't been released yet.
Closes scylladb/scylladb#25508
* github.com:scylladb/scylladb:
test_tablets_lwt: add test_lwt_during_migration
storage_proxy: node_local_only: always use my_host_id
2025-08-20 12:11:44 +03:00
..
2025-08-15 09:32:20 +03:00
2025-08-18 09:42:13 +00:00
2025-08-13 15:08:50 +03:00
2025-07-15 10:10:23 +03:00
2025-07-24 19:48:09 +02:00
2025-08-11 10:10:07 +08:00
2025-08-17 12:32:35 +00:00
2025-08-18 09:42:13 +00:00
2025-03-30 19:23:40 +03:00
2025-08-04 15:38:16 +03:00
2025-03-30 19:23:40 +03:00
2025-04-25 12:25:15 +02:00
2025-07-07 12:24:05 +03:00
2025-03-24 14:54:45 +02:00
2025-07-10 10:56:53 +08:00
2025-06-09 12:59:04 +02:00
2025-07-25 17:16:14 +02:00
2025-05-30 08:35:56 +02:00
2025-07-17 17:16:17 +02:00
2025-05-10 16:30:18 +02:00
2025-08-13 10:32:22 +02:00
2025-05-10 16:30:18 +02:00
2025-03-30 19:23:40 +03:00
2025-03-30 19:23:40 +03:00
2025-06-23 17:56:26 +02:00
2025-05-10 16:30:18 +02:00
2025-05-19 11:50:55 +00:00
2025-05-10 16:30:18 +02:00
2025-07-01 12:58:02 +02:00
2025-03-24 14:54:45 +02:00
2025-03-24 14:54:45 +02:00
2025-05-10 16:30:18 +02:00
2025-05-10 16:30:18 +02:00
2025-03-24 14:54:45 +02:00
2025-04-06 18:39:24 +03:00
2025-03-30 19:23:40 +03:00
2025-03-24 14:54:45 +02:00
2025-05-19 11:50:55 +00:00
2025-08-18 11:01:22 +08:00
2025-07-29 15:37:47 +02:00
2025-05-19 11:50:55 +00:00
2025-05-14 09:59:19 +02:00
2025-05-10 16:30:23 +02:00
2025-03-30 19:23:40 +03:00
2025-03-30 19:23:40 +03:00
2025-04-17 16:22:58 +02:00
2025-08-04 15:38:16 +03:00
2025-08-10 10:16:00 +02:00
2025-05-10 16:30:26 +02:00
2025-03-30 19:23:40 +03:00
2025-03-24 14:54:45 +02:00
2025-08-08 19:48:58 +02:00
2025-03-24 14:54:45 +02:00
2025-07-23 15:36:57 +02:00
2025-07-23 15:36:57 +02:00
2025-03-24 14:54:45 +02:00
2025-03-24 14:54:45 +02:00
2025-07-23 15:36:57 +02:00
2025-05-19 11:50:55 +00:00
2025-03-30 19:23:40 +03:00
2025-06-27 16:23:08 +03:00
2025-05-29 16:12:09 +03:00
2025-05-10 16:30:18 +02:00
2025-08-19 13:13:22 +03:00
2025-03-30 19:23:40 +03:00
2025-03-24 14:54:45 +02:00
2025-05-19 11:50:55 +00:00
2025-03-30 13:39:40 +03:00
2025-05-10 16:30:18 +02:00
2025-05-10 16:30:18 +02:00
2025-05-10 16:30:18 +02:00
2025-07-10 10:46:55 +02:00
2025-05-10 16:30:18 +02:00
2025-06-25 11:30:28 +03:00
2025-06-02 15:49:29 +02:00
2025-04-29 15:47:33 -03:00
2025-07-11 16:30:46 +02:00
2025-04-23 14:29:28 +02:00
2025-07-29 13:43:53 +08:00
2025-07-31 14:31:55 +03:00
2025-08-10 10:16:00 +02:00
2025-08-05 15:36:03 +02:00
2025-05-10 16:30:18 +02:00
2025-08-19 16:11:56 +02:00
2025-07-31 14:31:55 +03:00
2025-07-31 14:31:55 +03:00
2025-05-10 16:30:49 +02:00
2025-08-04 15:38:16 +03:00
2025-05-10 16:30:18 +02:00
2025-05-10 16:30:18 +02:00
2025-03-24 14:54:45 +02:00
2025-05-10 16:30:49 +02:00
2025-05-10 16:30:49 +02:00
2025-03-14 13:53:05 +01:00
2025-03-30 19:23:40 +03:00
2025-05-10 16:30:18 +02:00
2025-03-24 14:54:45 +02:00
2025-03-30 19:23:40 +03:00
2025-05-10 16:30:18 +02:00
2025-03-24 14:54:45 +02:00
2025-03-24 14:54:45 +02:00
2025-03-24 14:54:45 +02:00
2025-08-05 13:54:14 +02:00
2025-06-11 11:29:33 +03:00
2025-07-22 15:03:30 +02:00
2025-06-24 10:04:39 +02:00
2025-07-28 10:08:06 +02:00
2025-07-15 07:14:09 +03:00
2025-05-10 16:30:31 +02:00
2025-05-10 16:30:34 +02:00
2025-06-25 12:00:16 +03:00