Avi Kivity
7230a04799
dht, sstables: replace vector with chunked_vector when computing sstable shards
...
sstable::compute_shards_for_this_sstable() has a temporary of type
std::vector<dht::token_range> (aka dht::partition_range_vector), which
allocates a contiguous 300k when loading an sstable from disk. This
causes large allocation warnings (it doesn't really stress the allocator
since this typically happens during startup, but best to clear the warning
anyway).
Fix this by changing the container to by chunked_vector. It is passed
to dht::ring_position_range_vector_sharder, but since we're the only
user, we can change that class to accept the new type.
Fixes #24198 .
Closes scylladb/scylladb#26353
2025-10-02 00:47:42 +02:00
..
2025-09-17 17:32:19 +03:00
2025-09-29 13:01:22 +02:00
2025-10-01 14:59:06 +03:00
2025-09-29 13:01:21 +02:00
2025-05-14 08:32:05 +02:00
2024-12-18 17:45:13 +02:00
2025-01-14 07:56:39 -05:00
2025-07-15 10:10:23 +03:00
2025-07-15 10:10:23 +03:00
2025-09-07 00:32:02 +02:00
2024-12-18 17:45:13 +02:00
2025-09-29 13:01:21 +02:00
2025-07-31 13:10:41 +03:00
2025-07-31 13:10:41 +03:00
2025-09-26 12:02:42 +03:00
2025-09-26 12:02:42 +03:00
2025-09-07 00:30:15 +02:00
2024-12-18 17:45:13 +02:00
2025-01-27 09:29:26 -05:00
2024-12-18 17:45:13 +02:00
2025-09-29 06:49:14 +03:00
2025-03-19 13:03:29 +03:00
2024-12-18 17:45:13 +02:00
2025-08-08 11:46:21 +03:00
2024-12-18 17:45:13 +02:00
2025-07-17 10:32:57 +02:00
2025-09-29 13:01:21 +02:00
2025-02-10 15:44:55 +03:00
2024-12-18 17:45:13 +02:00
2025-07-25 10:45:32 +03:00
2025-09-24 13:23:38 +03:00
2024-12-18 17:45:13 +02:00
2025-09-24 13:23:38 +03:00
2024-12-18 17:45:13 +02:00
2025-09-24 13:23:38 +03:00
2025-07-25 10:45:32 +03:00
2025-09-29 13:01:21 +02:00
2024-12-18 17:45:13 +02:00
2025-06-24 09:16:28 +03: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-24 09:16:28 +03:00
2024-12-18 17:45:13 +02:00
2025-06-24 09:16:28 +03:00
2025-06-24 09:16:28 +03:00
2025-09-01 14:58:21 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-05-07 14:43:20 +02:00
2025-09-30 09:40:02 +03:00
2025-09-25 15:03:56 +03:00
2025-09-17 17:32:19 +03:00
2025-07-27 19:39:36 +03:00
2025-04-29 15:47:33 -03:00
2025-09-30 09:40:02 +03:00
2025-04-29 15:47:33 -03:00
2024-12-18 17:45:13 +02:00
2025-09-29 22:15:24 +02:00
2025-09-29 22:15:24 +02:00
2024-12-18 17:45:13 +02:00
2025-09-07 00:32:02 +02:00
2025-04-09 08:54:07 +03:00
2025-09-29 22:15:25 +02:00
2025-09-19 16:17:56 +03:00
2024-12-18 17:45:13 +02:00
2025-10-02 00:47:42 +02:00
2025-09-29 13:01:22 +02:00
2024-12-18 17:45:13 +02:00
2025-09-29 13:01:21 +02:00
2025-09-29 13:01:21 +02:00
2024-12-18 17:45:13 +02:00
2025-09-29 22:15:24 +02:00
2025-09-29 22:15:25 +02:00
2025-09-07 00:32:02 +02:00
2025-09-07 00:32:02 +02:00
2025-09-24 13:23:38 +03:00