mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-29 12:47:02 +00:00
The main user of this list is MVCC implementation in partition_version.cc. The reason why boost::intrusive::list<> cannot be used is that tere is no single owner of the list who could keep boost::intrusive::list<> object alive. In the MVCC case there is at least one partition_entry object and possibly multiple partition_snapshot objects which lifetime is independent and the list must remain in a valid state as long as at least one of them is alive. Signed-off-by: Paweł Dziepak <pdziepak@scylladb.com>
4.4 KiB
4.4 KiB