Aravind-Suresh commented on issue #11658:
URL: https://github.com/apache/pinot/issues/11658#issuecomment-1755058392

   Yes you are right @Jackie-Jiang. For our experiments, we did a small 
refactor to RecordLocation to hold the segment name instead of IndexSegment and 
derived the index segment from _trackedSegments (this is currently a set, but 
can be changed to a map).
   
   Once this change is done, there won't be any serialisation problems, and we 
were able to change the ConcurrentHashMap with other implementations.
   
   So, our suggestion is to change RecordLocation and memoize segmentName -> 
IndexSegment inside the ConcurrentMapPartitionUpsertManager class itself. Post 
this, we can change the map implementation to anything compatible with 
ConcurrentMap.
   
   What do you think? @Jackie-Jiang 


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