This is an automated email from the ASF dual-hosted git repository. sergeychugunov pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push: new 24da935 IGNITE-15973 Logging at WARN level changed to INFO when writing checkpoint pages - Fixes #9583. 24da935 is described below commit 24da93578916d114bf080b7ef3e0f08353b370b9 Author: Kirill Tkalenko <tkalkir...@yandex.ru> AuthorDate: Thu Nov 25 10:05:42 2021 +0300 IGNITE-15973 Logging at WARN level changed to INFO when writing checkpoint pages - Fixes #9583. Signed-off-by: Sergey Chugunov <sergey.chugu...@gmail.com> --- .../cache/persistence/checkpoint/CheckpointPagesWriter.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/checkpoint/CheckpointPagesWriter.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/checkpoint/CheckpointPagesWriter.java index b6f55fc..27ac7d1 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/checkpoint/CheckpointPagesWriter.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/checkpoint/CheckpointPagesWriter.java @@ -38,7 +38,6 @@ import org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO; import org.apache.ignite.internal.util.GridConcurrentMultiPairQueue; import org.apache.ignite.internal.util.future.CountDownFuture; import org.apache.ignite.internal.util.lang.IgniteThrowableFunction; -import org.apache.ignite.internal.util.typedef.internal.LT; import org.jsr166.ConcurrentLinkedHashMap; import static org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getType; @@ -153,8 +152,10 @@ public class CheckpointPagesWriter implements Runnable { if (pagesToRetry.isEmpty()) doneFut.onDone(); else { - LT.warn(log, pagesToRetry.initialSize() + " checkpoint pages were not written yet due to unsuccessful " + - "page write lock acquisition and will be retried"); + if (log.isInfoEnabled()) { + log.info(pagesToRetry.initialSize() + " checkpoint pages were not written yet due to " + + "unsuccessful page write lock acquisition and will be retried"); + } while (!pagesToRetry.isEmpty()) pagesToRetry = writePages(pagesToRetry);