This is an automated email from the ASF dual-hosted git repository. ipavlukhin 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 37502a3 IGNITE-11940 Reset MVCC records lock data throughout whole pages in PageMemoryTracker used in tests - Fixes #6629. 37502a3 is described below commit 37502a362d36ab9bfd2a0054e47e2416b4527573 Author: pavlukhin <vololo...@gmail.com> AuthorDate: Tue Jun 25 10:56:56 2019 +0300 IGNITE-11940 Reset MVCC records lock data throughout whole pages in PageMemoryTracker used in tests - Fixes #6629. Signed-off-by: ipavlukhin <vololo...@gmail.com> --- .../processors/cache/persistence/wal/memtracker/PageMemoryTracker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/wal/memtracker/PageMemoryTracker.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/wal/memtracker/PageMemoryTracker.java index c50ac02..181ceb4 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/wal/memtracker/PageMemoryTracker.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/wal/memtracker/PageMemoryTracker.java @@ -666,7 +666,7 @@ public class PageMemoryTracker implements IgnitePlugin { AbstractDataLeafIO io = (AbstractDataLeafIO)pageIo; - int cnt = io.getCount(actualPageAddr); + int cnt = io.getMaxCount(actualPageAddr, pageSize); // Reset lock info as there is no sense to log it into WAL. for (int i = 0; i < cnt; i++) {