dataroaring opened a new pull request, #62086: URL: https://github.com/apache/doris/pull/62086
## Summary - Introduce `CompactTabletMetaStore` using Structure-of-Arrays layout to replace per-tablet `TabletMeta` objects in `TabletInvertedIndex` - Eliminates 16-byte Java object header per tablet, reducing per-tablet overhead from ~96 bytes to ~69 bytes (~28% savings, ~270 MB at 10M tablets) - Uses `Long2IntOpenHashMap` for tabletId→slot mapping with 7 parallel primitive arrays and a free list for slot reuse ## Test plan - [ ] `CompactTabletMetaStoreTest` covers add/get/remove, duplicate adds, storageMedium mutation, free list reuse, array growth, `toMap()`, `clear()`, all storage medium values - [ ] Existing `TabletInvertedIndexTest` and `ClusterLoadStatisticsTest` pass (backward-compatible API via on-demand `TabletMeta` construction) - [ ] No `tabletMetaMap` references remain in modified files — fully migrated to `tabletMetaStore` 🤖 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]
