Michał Jadwiszczak
7dfb76f9a7
db/view/view_building_worker: wrap shared_sstable in foreign_ptr
...
When a staging sstable is registered to view building worker,
it needs to make a round trip from its original shard to shard 0
(in order to create a view building task) and back (to be eventually
processed).
Until now this was done using plain `sstables::shared_sstable`
(= `lw_shared_ptr`) which is not safe to be moved between shards.
This patch fixes this by wrapping the pointer in `foreign_ptr` and
obtains necessary informations (owner shard, last token) on the original
shard (instead of on shard0).
Then all of those objects are put into freshly introduced structure
`staging_sstable_task_info`, which can be safely moved between shards.
Fixes scylladb/scylladb#25859
2025-09-18 02:57:36 +02:00
..
2025-09-10 21:54:15 +03:00
2024-12-18 17:45:13 +02:00
2025-09-08 09:18:20 +02:00
2025-01-28 21:14:49 +01:00
2025-04-17 16:31:42 +03:00
2025-09-14 13:32:21 +03:00
2025-09-18 02:57:36 +02:00
2024-12-18 17:45:13 +02:00
2025-07-13 19:13:11 +03:00
2025-07-07 12:23:06 +03:00
2025-09-16 23:40:47 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-09-03 09:46:00 +03:00
2025-05-14 08:32:05 +02:00
2025-08-28 18:06:37 +02:00
2025-08-28 18:06:37 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-16 16:37:06 +02:00
2025-01-28 14:12:06 +03:00
2025-06-24 14:57:00 +03:00
2025-06-24 14:57:00 +03:00
2025-02-15 20:32:22 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-06-26 12:25:38 +02:00
2025-07-03 13:34:04 +03:00
2025-07-13 20:47:55 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-02-06 13:38:19 +02:00
2025-03-19 20:36:16 +02:00
2025-03-19 20:36:16 +02:00
2024-12-18 17:45:13 +02:00
2025-02-15 20:32:22 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-09-16 23:40:47 +03:00
2024-12-18 17:45:13 +02:00
2025-09-14 19:48:14 +03:00
2025-09-14 19:48:14 +03:00
2025-09-16 23:40:47 +03:00
2025-09-16 23:40:47 +03:00
2025-02-06 08:55:51 +02:00
2025-09-16 23:40:47 +03:00
2025-09-16 23:40:47 +03:00
2025-07-25 10:45:32 +03:00
2024-12-18 17:45:13 +02:00
2025-04-16 18:18:58 +03:00
2025-04-12 11:28:48 +03:00
2025-04-12 11:28:48 +03:00
2025-04-12 11:28:48 +03:00
2025-07-13 19:13:11 +03:00
2025-01-02 07:13:34 +01:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-09-16 23:40:47 +03:00
2025-09-16 23:40:47 +03:00
2025-02-06 08:55:51 +02:00
2025-02-06 08:55:51 +02:00
2024-12-18 17:45:13 +02:00
2025-08-27 13:47:04 +03:00
2025-05-09 07:53:29 -04:00
2025-04-09 20:21:51 +02:00
2025-07-13 19:13:11 +03:00
2025-04-09 20:21:51 +02:00
2024-12-18 17:45:13 +02:00