This is an automated email from the ASF dual-hosted git repository.
namelchev 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 28d625dd2b0 IGNITE-26453 Fixed performance statistics reader file mode
(#12351)
28d625dd2b0 is described below
commit 28d625dd2b0753b3500bc4f9c74fab8806fac1ad
Author: Aleksandr Chesnokov <[email protected]>
AuthorDate: Wed Sep 24 13:33:25 2025 +0300
IGNITE-26453 Fixed performance statistics reader file mode (#12351)
---
.../performancestatistics/FilePerformanceStatisticsReader.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/modules/core/src/main/java/org/apache/ignite/internal/processors/performancestatistics/FilePerformanceStatisticsReader.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/performancestatistics/FilePerformanceStatisticsReader.java
index e7f84986fbe..3f596cf6522 100644
---
a/modules/core/src/main/java/org/apache/ignite/internal/processors/performancestatistics/FilePerformanceStatisticsReader.java
+++
b/modules/core/src/main/java/org/apache/ignite/internal/processors/performancestatistics/FilePerformanceStatisticsReader.java
@@ -49,6 +49,7 @@ import org.jetbrains.annotations.Nullable;
import static java.nio.ByteBuffer.allocateDirect;
import static java.nio.ByteOrder.nativeOrder;
import static java.nio.file.Files.walkFileTree;
+import static java.nio.file.StandardOpenOption.READ;
import static
org.apache.ignite.internal.processors.performancestatistics.OperationType.CACHE_START;
import static
org.apache.ignite.internal.processors.performancestatistics.OperationType.CHECKPOINT;
import static
org.apache.ignite.internal.processors.performancestatistics.OperationType.JOB;
@@ -153,7 +154,7 @@ public class FilePerformanceStatisticsReader {
UUID nodeId = nodeId(file);
- try (FileIO io = ioFactory.create(file)) {
+ try (FileIO io = ioFactory.create(file, READ)) {
fileIo = io;
boolean first = true;