mjsax commented on pull request #11211:
URL: https://github.com/apache/kafka/pull/11211#issuecomment-1069342863


   > the computation is done again on the cached data
   
   What computation do you mean? In the end, we just iterate? And for both 
cases (also with cache) we need to have an interator for the inner store, 
because the cache might not have all data -- thus, we need to "peek" into both 
iterators to see what the next key is to "merge" both together correctly -- if 
the key exists in the underlying store and the cache, we return the data from 
the cache, but we still need to skip over the key in the underlying store to 
ensure the merging is done correctly. (Not sure if your question was referring 
to this part of the "merge logic"?)


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