ifesdjeen commented on code in PR #3501:
URL: https://github.com/apache/cassandra/pull/3501#discussion_r1734386361


##########
src/java/org/apache/cassandra/journal/InMemoryIndex.java:
##########
@@ -48,33 +47,60 @@ static <K> InMemoryIndex<K> create(KeySupport<K> keySupport)
         return new InMemoryIndex<>(keySupport, new 
ConcurrentSkipListMap<>(keySupport));
     }
 
-    private InMemoryIndex(KeySupport<K> keySupport, NavigableMap<K, int[]> 
index)
+    private InMemoryIndex(KeySupport<K> keySupport, NavigableMap<K, long[]> 
index)
     {
         super(keySupport);
         this.index = index;
         this.lastId = new AtomicReference<>();
     }
 
-    public void update(K id, int offset)
+    public void update(K id, int offset, int size)

Review Comment:
   Good point!



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to