Chronicle-Map icon indicating copy to clipboard operation
Chronicle-Map copied to clipboard

Background cleanup of removed entries is disabled even if ChronicleMapBuilder#cleanupRemovedEntries is true

Open glukos opened this issue 4 years ago • 1 comments

OldDeletedEntriesCleanupThread:

    @Override
    public void run() {
        throwExceptionIfClosed();

        if (System.currentTimeMillis() - startTime < 1_000)
            return; // cleanup thread stops after this return

        while (!shutdown) {
            // do cleanup in loop

So background cleanup is never performed, which may lead to on-demand cleanup and latency spikes on put() called by a critical thread.

glukos avatar Jul 30 '21 09:07 glukos

Is this easily fixed @glukos ?

minborg avatar Jan 03 '22 13:01 minborg