github-actions[bot] commented on PR #62080: URL: https://github.com/apache/doris/pull/62080#issuecomment-4181983341
No issues found in this change after reviewing the full `CloudReplica` construction, serialization, checkpoint/image, and in-repo call paths. Critical checkpoint conclusions: - Goal and correctness: The goal is to remove an unused persisted field from `CloudReplica` to reduce per-replica memory. The code accomplishes that, and I did not find any in-repo caller that still reads `CloudReplica.indexId` or `CloudReplica.getIndexId()`. - Scope/minimality: The modification is small and focused to a single class. - Concurrency: No new concurrency behavior or lock interaction is introduced. Existing concurrent maps and access patterns are unchanged. - Lifecycle/persistence: `CloudReplica` remains Gson-deserializable from older images because Gson ignores unknown keys, and the removed field is not used by current logic after deserialization. I did not find a replay/checkpoint path that still depends on the field. - Parallel paths: The cloud creation/restore paths still pass `indexId` into the constructor, but the value is now unused consistently; no sibling path appears to require an additional update. - Special conditions/comments: No new conditional logic was introduced. - Test coverage: No dedicated test was added. I did not find evidence of a bug from that omission, but a small Gson backward-compatibility test would further validate the persistence claim. - Observability: No observability impact. - Transaction/persistence semantics: No EditLog or transaction semantic change. - Data writes/modifications: No write-path or atomicity change. - FE/BE protocol impact: None. - Performance: The intended memory reduction is real; no obvious runtime regression was introduced. Residual risk: compatibility is argued rather than exercised by a dedicated FE persistence test. -- 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]
