dataroaring opened a new pull request, #62080: URL: https://github.com/apache/doris/pull/62080
## Summary - Remove the `indexId` field and its `@SerializedName` from `CloudReplica`, saving 8 bytes per replica object - The only external usage is debug logging in `CloudTabletStatMgr` which already uses `stat.getIdx().getIndexId()` from the proto response — no change needed - Constructor parameter is kept for source compatibility but the value is no longer stored - Gson silently ignores unknown keys when deserializing old images, so backward compatibility is maintained ## Memory Impact -8 bytes/replica. At 10M replicas: ~76 MB saved. At 100M replicas: ~763 MB saved. ## Test plan - [ ] Existing cloud tests pass (`mvn test -pl fe/fe-core -Dtest="*Cloud*"`) - [ ] Gson backward compatibility: old-format JSON with "indexId" key deserializes without errors (silently ignored) 🤖 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]
