xiangfu0 opened a new pull request, #17992:
URL: https://github.com/apache/pinot/pull/17992

   ## Summary
   - Gracefully handle unknown index types when loading 
`SingleFileIndexDirectory` by catching `IllegalArgumentException` from 
`IndexKey.fromIndexName()`
   - Logs a warning and skips the unknown entry instead of crashing, improving 
forward compatibility when segments contain index types not yet recognized by 
the current version
   
   ## Test plan
   - [ ] Build `pinot-segment-local` module: `./mvnw -pl pinot-segment-local 
-am verify`
   - [ ] Verify existing `SingleFileIndexDirectoryTest` passes
   - [ ] Test with a segment containing an unknown index type entry in the 
index map to confirm it logs a warning and loads successfully
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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