partition_version: add a logalloc::region argument to partition_entry::upgrade()
The argument is currently unused, but will be further propagated to add_version() in an upcoming patch.
This commit is contained in:
@@ -1324,9 +1324,7 @@ void row_cache::upgrade_entry(cache_entry& e) {
|
||||
if (e.schema() != _schema && !e.partition().is_locked()) {
|
||||
auto& r = _tracker.region();
|
||||
assert(!r.reclaiming_enabled());
|
||||
with_allocator(r.allocator(), [this, &e] {
|
||||
e.partition().upgrade(e.schema(), _schema, _tracker.cleaner(), &_tracker);
|
||||
});
|
||||
e.partition().upgrade(r, e.schema(), _schema, _tracker.cleaner(), &_tracker);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user