Phixsura commented on PR #22330:
URL: https://github.com/apache/kafka/pull/22330#issuecomment-4491355076
@ijuma First PR in the KAFKA-14490 series is up. This batch covers
`LazyIndex`: the IOException-to-UncheckedIOException conversion plus the
private-constructor cleanup you called out in the description (removes the
`loadIndex` switch on `IndexType` and its `@SuppressWarnings("unchecked")`).
Added `LazyIndexTest` with 11 unit tests covering both the happy path and the
wrap-on-IOException paths. Happy to tune the pattern before the larger files
(`AbstractIndex` / `OffsetIndex` / `TimeIndex` / `TransactionIndex`) land in
subsequent PRs.
--
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]