Tomasz Grabiec
f87274f66a
sstable: partition_index_cache: Fix abort on bad_alloc during page loading
...
When entry loading fails and there is another request blocked on the
same page, attempt to erase the failed entry will abort because that
would violate entry_ptr guarantees, which is supposed to keep the
entry alive.
The fix in 92727ac36c was incomplete. It
only helped for the case of a single loader. This patch makes a more
general approach by relaxing the assert.
The assert manifested like this:
scylla: ./sstables/partition_index_cache.hh:71: sstables::partition_index_cache::entry::~entry(): Assertion `!is_referenced()' failed.
Fixes #10617
Closes #10653
2022-05-25 09:27:04 +03:00
..
2022-02-13 14:16:16 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-05-01 08:33:55 +03:00
2022-02-13 14:16:16 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-04-20 10:59:09 +03:00
2022-02-25 01:42:15 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-04-12 16:37:11 +03:00
2022-04-12 16:35:17 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-04-27 14:40:24 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-04-08 09:17:01 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-02-07 11:33:57 +02:00
2022-02-08 11:08:42 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-05-24 00:17:54 +02:00
2022-01-18 12:15:18 +01:00
2022-03-30 15:42:51 +03:00
2022-05-10 10:45:14 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 23:49:41 +02:00
2022-01-18 12:15:18 +01:00
2022-02-16 10:06:10 +02:00
2022-05-16 18:17:58 +02:00
2022-05-10 09:56:44 +03:00
2022-04-26 14:46:42 +03:00
2022-04-28 14:12:24 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-05-18 08:21:54 +03:00
2022-05-03 10:57:40 +03:00
2022-05-19 17:21:35 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-05-18 19:24:18 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-02-22 12:55:38 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-03-16 12:31:50 +03:00
2022-04-29 19:22:55 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-05-10 22:10:40 +03:00
2022-04-28 14:12:24 +03:00
2022-02-21 12:29:25 +02:00
2022-01-18 12:15:18 +01:00
2022-03-31 13:29:11 +03:00
2022-05-05 13:32:25 +03:00
2022-05-10 22:10:40 +03:00
2022-05-18 18:33:12 +03:00
2022-03-30 15:42:51 +03:00
2022-01-18 12:15:18 +01:00
2022-05-03 10:57:40 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-03-31 10:36:23 +03:00
2022-05-01 08:33:55 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-04-06 16:55:54 +03:00
2022-04-20 17:55:58 +02:00
2022-05-24 00:17:41 +02:00
2022-03-15 11:42:42 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-05-10 22:10:40 +03:00
2022-05-11 16:49:31 +02:00
2022-04-08 09:17:01 +02:00
2022-05-10 22:10:40 +03:00
2022-02-17 15:24:24 +02:00
2022-05-05 13:06:04 +03:00
2022-05-19 10:16:04 +02:00
2022-05-18 19:10:13 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-05-03 10:57:40 +03:00
2022-05-18 14:57:10 +03:00
2022-05-18 14:57:10 +03:00
2022-05-10 22:10:40 +03:00
2022-05-10 22:10:40 +03:00
2022-02-28 12:36:03 +02:00
2022-02-28 12:36:03 +02:00
2022-05-10 22:10:40 +03:00
2022-05-25 09:27:04 +03:00
2022-05-18 14:57:10 +03:00
2022-03-14 13:20:25 +02:00
2022-03-08 14:14:18 +02:00
2022-02-23 09:05:16 +02:00
2022-01-18 12:15:18 +01:00
2022-05-16 18:17:58 +02:00
2022-02-01 21:14:41 +01:00
2021-08-02 22:26:26 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-02-16 10:19:47 +02:00
2022-03-30 15:42:51 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-03-08 15:34:26 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-03-15 17:02:28 +02:00
2022-01-18 12:15:18 +01:00