deepthi912 commented on code in PR #19010:
URL: https://github.com/apache/pinot/pull/19010#discussion_r4021512124


##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/upsert/ConcurrentMapPartitionUpsertMetadataManager.java:
##########
@@ -240,6 +240,10 @@ protected void revertAndRemoveSegment(IndexSegment segment,
               }
               // Revert to previous segment location
               IndexSegment prevSegment = prevLocation.getSegment();
+              // Skip if prevSegment has been offloaded; its data buffers are 
unmapped.

Review Comment:
   Noticed SIGSEGV when running 
`RocksDBPartialUpsertTableRebalanceIntegrationTest`, felt like this is the only 
pplace we are accessing the prev segment location without checking. Locally I 
don't see any issues. So pushed it to check against CI.



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