somandal commented on code in PR #15266: URL: https://github.com/apache/pinot/pull/15266#discussion_r2023159343
########## pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/rebalance/TableRebalanceProgressStats.java: ########## @@ -18,35 +18,28 @@ */ package org.apache.pinot.controller.helix.core.rebalance; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; /** * These are rebalance stats as to how the current state is, when compared to the target state. * Eg: If the current has 4 segments whose replicas (16) don't match the target state, _segmentsToRebalance * is 4 and _replicasToRebalance is 16. */ +@JsonIgnoreProperties(ignoreUnknown = true) Review Comment: I removed the rename changes and annotation for the older stats to remove `_` for now. I have added a TODO to clean this up later on. Also removed this `@JsonIgnoreProperties(ignoreUnknown = true)` -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org