mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-28 10:41:12 +00:00
db/system_keyspace: scylla_views_builds_in_progress writes are user mem
Treat writes to scylla_views_builds_in_progress as user memory, as the number of writes is dependent on the amount of user data on views (times the number of views, divided by the view building batch size). Fixes #3325 Signed-off-by: Duarte Nunes <duarte@scylladb.com>
This commit is contained in:
@@ -1582,7 +1582,8 @@ static void maybe_add_virtual_reader(schema_ptr s, database& db) {
|
||||
}
|
||||
|
||||
static bool maybe_write_in_user_memory(schema_ptr s, database& db) {
|
||||
return (s.get() == batchlog().get());
|
||||
return (s.get() == batchlog().get())
|
||||
|| s == v3::scylla_views_builds_in_progress();
|
||||
}
|
||||
|
||||
void make(database& db, bool durable, bool volatile_testing_only) {
|
||||
|
||||
Reference in New Issue
Block a user