You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ib...@apache.org on 2025/03/13 07:51:09 UTC
(ignite-3) branch main updated: IGNITE-24787 Fix "Lease update" message frequency (#5404)
This is an automated email from the ASF dual-hosted git repository.
ibessonov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 4a5d8a955f8 IGNITE-24787 Fix "Lease update" message frequency (#5404)
4a5d8a955f8 is described below
commit 4a5d8a955f820d8d98f437e8874a79cbcd7527dc
Author: Ivan Bessonov <be...@gmail.com>
AuthorDate: Thu Mar 13 10:51:03 2025 +0300
IGNITE-24787 Fix "Lease update" message frequency (#5404)
---
.../java/org/apache/ignite/internal/placementdriver/LeaseUpdater.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/placement-driver/src/main/java/org/apache/ignite/internal/placementdriver/LeaseUpdater.java b/modules/placement-driver/src/main/java/org/apache/ignite/internal/placementdriver/LeaseUpdater.java
index 19356e26c86..8e7fbc0a585 100644
--- a/modules/placement-driver/src/main/java/org/apache/ignite/internal/placementdriver/LeaseUpdater.java
+++ b/modules/placement-driver/src/main/java/org/apache/ignite/internal/placementdriver/LeaseUpdater.java
@@ -719,7 +719,7 @@ public class LeaseUpdater {
return false;
}
- boolean result = ++statisticsLogCounter > LEASE_UPDATE_STATISTICS_PRINT_ONCE_PER_ITERATIONS;
+ boolean result = ++statisticsLogCounter >= LEASE_UPDATE_STATISTICS_PRINT_ONCE_PER_ITERATIONS;
if (result) {
statisticsLogCounter = 0;