Currently, _flush_active_memtables() is using stale memtracker data, especially when some other thread has just it. Refresh memtrackers before flush to avoid this problem.
Currently, _flush_active_memtables() is using stale memtracker data, especially when some other thread has just it. Refresh memtrackers before flush to avoid this problem.