Skip to content

Performance bug. Info message in closable method: "Flushing any cached BatchWrites before shutdown." #114

@raven2cz

Description

@raven2cz
Class AbstractWriteClient public void close() { LOG.log(Level.INFO, "Flushing any cached BatchWrites before shutdown."); autoCloseables.remove(this); processor.onComplete(); flushPublisher.onComplete(); tempBoundary.onComplete(); eventPublisher.onComplete(); waitToCondition(() -> finished.get(), DEFAULT_WAIT); } 

is called in the closable try-resource statement!
From WriteApiImpl which is inherited from this class.
Info level has to be removed from this. It causes higher performance problem and log is not possible to process there are thousand these lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions