You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/GridCacheDatabaseSharedManager.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -1192,7 +1192,7 @@ private long[] calculateFragmentSizes(String regionName, int concLvl, long cache
1192
1192
longcacheSize = regCfg.getMaxSize();
1193
1193
1194
1194
// Checkpoint buffer size can not be greater than cache size, it does not make sense.
Copy file name to clipboardExpand all lines: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/checkpoint/CheckpointProgressImpl.java
+4-2
Original file line number
Diff line number
Diff line change
@@ -215,8 +215,10 @@ public void reason(String reason) {
Copy file name to clipboardExpand all lines: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/pagemem/CheckpointBufferOverflowWatchdog.java
+8-1
Original file line number
Diff line number
Diff line change
@@ -40,11 +40,18 @@ class CheckpointBufferOverflowWatchdog {
40
40
* {@link PagesWriteThrottlePolicy#CP_BUF_FILL_THRESHOLD} of the buffer is filled) and, hence, writer threads need
41
41
* to be throttled.
42
42
*
43
-
* @return {@code true} iff Checkpoint Buffer is in danger zone
43
+
* @return {@code true} if Checkpoint Buffer is in danger zone
Copy file name to clipboardExpand all lines: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/pagemem/ExponentialBackoffThrottlingStrategy.java
+5-13
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@
20
20
/**
21
21
* Logic used to protect memory (mainly, Checkpoint Buffer) from exhaustion using exponential backoff.
Copy file name to clipboardExpand all lines: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/pagemem/PageMemoryImpl.java
+11-4
Original file line number
Diff line number
Diff line change
@@ -427,12 +427,19 @@ public PageMemoryImpl(
427
427
* Resolves instance of {@link PagesWriteThrottlePolicy} according to chosen throttle policy.
Copy file name to clipboardExpand all lines: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/pagemem/PagesWriteSpeedBasedThrottle.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -135,7 +135,7 @@ private long computeThrottlingParkTime(boolean isPageInCheckpoint, long curNanoT
135
135
if (isPageInCheckpoint) {
136
136
// The fact that we are here means that we checked whether CP Buffer is in danger zone and found that
137
137
// it is ok, so its protector may relax, hence we reset it.
Copy file name to clipboardExpand all lines: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/pagemem/PagesWriteThrottle.java
+17-11
Original file line number
Diff line number
Diff line change
@@ -43,8 +43,7 @@ public class PagesWriteThrottle implements PagesWriteThrottlePolicy {
0 commit comments