mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-06 23:13:15 +00:00
lw_shared_ptr must not be copied on a foreign shard. Copying the vector on shard 0 tries increases the reference count of lw_shared_ptr<sstable> elements that were created on other shards, as seen in https://github.com/scylladb/scylla/issues/9278. Fixes #9278 DTest: migration_test.py:TestLoadAndStream_with_3_0_md.load_and_stream_increase_cluster_test(debug) Signed-off-by: Benny Halevy <bhalevy@scylladb.com> Message-Id: <20210902084313.2003328-1-bhalevy@scylladb.com>
37 KiB
37 KiB