On database stop, we do flush memtables and clean up commit log segment usage. However, since we never actually destroy the distributed<database>, we don't actually free the commitlog either, and thus never clear out the remaining (clean) segments. Thus we leave perfectly clean segments on disk. This just adds a "release" method to commitlog, and calls it from database::stop, after flushing CF:s. Message-Id: <1485784950-17387-1-git-send-email-calle@scylladb.com>
12 KiB
12 KiB