Skip to content

Commit 3b85f31

Browse files
branch-3.0: [fix](table stat) Fix show data size of single replica result incorrect #39751 (#48106)
Cherry-picked from #39751 Co-authored-by: xy720 <[email protected]>
1 parent 9ded8ff commit 3b85f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fe/fe-core/src/main/java/org/apache/doris/catalog/OlapTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3329,7 +3329,7 @@ public long getDataSize() {
33293329

33303330
public long getDataSize(boolean singleReplica) {
33313331
if (singleReplica) {
3332-
statistics.getDataSize();
3332+
return statistics.getDataSize();
33333333
}
33343334

33353335
return statistics.getTotalReplicaDataSize();

0 commit comments

Comments
 (0)