Files
doris/be
Mingyu Chen 3d4b2cb1ae [Bug] Fix tablet shared ptr circular reference causing the tablet not to be cleared (#5100)
Regardless of whether the tablet is submitted for compaction or not,
we need to call 'reset_compaction' to clean up the base_compaction or cumulative_compaction objects
in the tablet, because these two objects store the tablet's own shared_ptr.
If it is not cleaned up, the reference count of the tablet will always be greater than 1,
thus cannot be collected by the garbage collector. (TabletManager::start_trash_sweep)

This bug is introduced from #4891
2020-12-18 21:17:18 +08:00
..
2020-12-16 21:58:34 +08:00