Skip to content

Commit

Permalink
branch-3.0: [fix](table stat) Fix show data size of single replica re…
Browse files Browse the repository at this point in the history
…sult incorrect #39751 (#48106)

Cherry-picked from #39751

Co-authored-by: xy720 <[email protected]>
  • Loading branch information
github-actions[bot] and xy720 authored Feb 22, 2025
1 parent 9ded8ff commit 3b85f31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3329,7 +3329,7 @@ public long getDataSize() {

public long getDataSize(boolean singleReplica) {
if (singleReplica) {
statistics.getDataSize();
return statistics.getDataSize();
}

return statistics.getTotalReplicaDataSize();
Expand Down

0 comments on commit 3b85f31

Please sign in to comment.