You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by mp...@apache.org on 2024/04/17 13:01:07 UTC
(ignite-3) branch main updated: IGNITE-22066 Fix memory leak in the DummyInternalTableImpl (#3621)
This is an automated email from the ASF dual-hosted git repository.
mpochatkin 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 98a2a22830 IGNITE-22066 Fix memory leak in the DummyInternalTableImpl (#3621)
98a2a22830 is described below
commit 98a2a22830851fca768d864f140e243214949257
Author: Vadim Pakhnushev <86...@users.noreply.github.com>
AuthorDate: Wed Apr 17 16:01:01 2024 +0300
IGNITE-22066 Fix memory leak in the DummyInternalTableImpl (#3621)
---
.../org/apache/ignite/internal/table/impl/DummyInternalTableImpl.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/modules/table/src/testFixtures/java/org/apache/ignite/internal/table/impl/DummyInternalTableImpl.java b/modules/table/src/testFixtures/java/org/apache/ignite/internal/table/impl/DummyInternalTableImpl.java
index d1486b076e..131e4b6a5f 100644
--- a/modules/table/src/testFixtures/java/org/apache/ignite/internal/table/impl/DummyInternalTableImpl.java
+++ b/modules/table/src/testFixtures/java/org/apache/ignite/internal/table/impl/DummyInternalTableImpl.java
@@ -154,8 +154,6 @@ public class DummyInternalTableImpl extends InternalTableImpl {
private static final AtomicInteger nextTableId = new AtomicInteger(10_001);
- private static final TestLowWatermark LOW_WATERMARK = new TestLowWatermark();
-
/**
* Creates a new local table.
*
@@ -485,7 +483,7 @@ public class DummyInternalTableImpl extends InternalTableImpl {
new TestLocalRwTxCounter(),
resourcesRegistry,
transactionInflights,
- LOW_WATERMARK
+ new TestLowWatermark()
);
assertThat(txManager.start(), willCompleteSuccessfully());