From b3fe55e21c1d5436951b6484195b5201c65b657b Mon Sep 17 00:00:00 2001 From: yurinaryshkin <135707807+yurinaryshkin@users.noreply.github.com> Date: Tue, 12 Dec 2023 11:29:52 +0300 Subject: [PATCH] IGNITE-21056 Use thread local buffer for encrypted dump (#11086) --- .../cache/persistence/snapshot/dump/DumpEntrySerializer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/dump/DumpEntrySerializer.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/dump/DumpEntrySerializer.java index 70f8eebb33cd6..2642c5a08f556 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/dump/DumpEntrySerializer.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/dump/DumpEntrySerializer.java @@ -137,7 +137,7 @@ public ByteBuffer writeToBuffer( ByteBuffer encBuf = threadLocalBuffer(encThLocBufs); if (encBuf.capacity() < encDataSz) - encBuf = enlargeThreadLocalBuffer(thLocBufs, encDataSz); + encBuf = enlargeThreadLocalBuffer(encThLocBufs, encDataSz); else encBuf.rewind().limit(encDataSz);