mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 11:10:40 +00:00
db: don't perform move on tablet_hint reference
This lambda is called several times so there should be no move. Currently the bug likely doesn't manifest as code does work only on shard 0.
This commit is contained in:
@@ -671,7 +671,7 @@ static future<affected_tables_and_views> merge_tables_and_views(distributed<serv
|
||||
// and so that compaction groups are not destroyed altogether.
|
||||
// We must also do it before tables are created so that new tables see the tablet map.
|
||||
co_await db.invoke_on_all([&] (replica::database& db) -> future<> {
|
||||
co_await db.get_notifier().update_tablet_metadata(std::move(tablet_hint));
|
||||
co_await db.get_notifier().update_tablet_metadata(tablet_hint);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user