Tomasz Grabiec
0cdee6d1c3
tests: row_cache: Fix test_update()
...
The underlying data source for cache should not be the same memtable
which is later used to update the cache from. This fixes the following
assertion failure:
row_cache_test_g: utils/logalloc.hh:289: decltype(auto) logalloc::allocating_section::operator()(logalloc::region&, Func&&) [with Func = memtable::make_reader(schema_ptr, const partition_range&)::<lambda()>]: Assertion `r.reclaiming_enabled()' failed.
The problem is that when memtable is merged into cache their regions
are also merged, so locking cache's region locks the memtable region
as well.
2015-12-16 18:06:55 +01:00
..
2015-12-09 17:46:31 +02:00
2015-10-08 20:57:20 +03:00
2015-10-23 16:57:41 -02:00
2015-09-20 10:43:39 +03:00
2015-11-09 08:42:53 +08:00
2015-09-20 10:43:39 +03:00
2015-09-20 10:43:39 +03:00
2015-12-07 09:50:28 +01:00
2015-09-20 10:43:39 +03:00
2015-09-20 10:43:39 +03:00
2015-09-20 10:43:39 +03:00
2015-09-20 10:43:39 +03:00
2015-12-11 12:05:25 +01:00
2015-12-16 18:06:54 +01:00
2015-10-30 17:38:51 +01:00
2015-09-20 10:43:39 +03:00
2015-12-08 19:31:40 +01:00
2015-11-24 10:07:31 +08:00
2015-10-20 08:24:04 +02:00
2015-12-15 15:16:04 +02:00
2015-09-20 10:43:39 +03:00
2015-12-02 16:50:34 +08:00
2015-11-24 10:07:31 +08:00
2015-09-20 10:43:39 +03:00
2015-10-20 20:27:47 +02:00
2015-11-13 17:12:29 +02:00
2015-12-10 13:16:43 +01:00
2015-09-20 10:43:39 +03:00
2015-09-20 10:43:39 +03:00
2015-09-20 10:43:39 +03:00
2015-09-20 10:43:39 +03:00
2015-11-13 17:12:29 +02:00
2015-09-20 10:43:39 +03:00
2015-09-20 10:43:39 +03:00
2015-09-20 10:43:39 +03:00
2015-11-29 16:25:22 +01:00
2015-11-13 17:12:29 +02:00
2015-09-20 10:43:39 +03:00
2015-11-13 17:12:29 +02:00
2015-11-13 17:12:29 +02:00
2015-09-20 10:43:39 +03:00
2015-12-08 15:17:09 +02:00
2015-11-24 10:07:31 +08:00
2015-09-20 10:43:39 +03:00
2015-11-13 17:12:29 +02:00
2015-09-20 10:43:39 +03:00
2015-09-20 10:43:39 +03:00
2015-11-13 17:12:29 +02:00
2015-10-30 17:38:51 +01:00
2015-10-30 17:38:51 +01:00
2015-12-08 19:31:40 +01:00
2015-12-16 18:06:55 +01:00
2015-09-20 10:43:39 +03:00
2015-11-24 10:07:31 +08:00
2015-12-15 15:16:04 +02:00
2015-11-13 17:12:29 +02:00
2015-11-13 17:12:29 +02:00
2015-12-16 18:06:54 +01:00
2015-11-13 17:12:29 +02:00
2015-09-20 10:43:39 +03:00
2015-09-20 10:43:39 +03:00
2015-11-13 17:12:29 +02:00
2015-09-20 10:43:39 +03:00