Skip to content

Commit

Permalink
add-comments
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Sep 20, 2024
1 parent a835993 commit 61283d9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1571,6 +1571,9 @@ public long fetchRowCount() {
return getRowCountForIndex(baseIndexId, false);
}

/**
* @return -1 if there are some tablets whose row count is not reported to FE
*/
public long getRowCountForIndex(long indexId, boolean strict) {
long rowCount = 0;
for (Map.Entry<Long, Partition> entry : idToPartition.entrySet()) {
Expand Down

0 comments on commit 61283d9

Please sign in to comment.