Skip to content

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

@glukos

Description

@glukos

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions