ibessonov commented on code in PR #7610:
URL: https://github.com/apache/ignite-3/pull/7610#discussion_r2847214786


##########
modules/raft/src/main/java/org/apache/ignite/internal/raft/storage/segstore/IndexFileManager.java:
##########
@@ -370,7 +430,13 @@ private byte[] 
serializeHeaderAndFillMetadata(ReadModeIndexMemTable indexMemTabl
         return new IndexFileMeta(firstIndexKept, lastLogIndexExclusive, 
adjustedPayloadOffset, fileProperties);
     }
 
-    private void putIndexFileMeta(Long groupId, @Nullable IndexFileMeta 
indexFileMeta, long firstIndexKept) {
+    private void putIndexFileMeta(IndexMetaSpec metaSpec) {
+        IndexFileMeta indexFileMeta = metaSpec.indexFileMeta();
+
+        Long groupId = metaSpec.groupId();

Review Comment:
   We could also use a map with primitive keys. Or is it a concurrent map that 
can't be replaced easily?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to