Skip to content

Commit

Permalink
[hotfix] Fix collectSizeStats for SegmentFileStateHandle (apache#24480)
Browse files Browse the repository at this point in the history
  • Loading branch information
masteryhx committed Apr 7, 2024
1 parent ea4e498 commit 0b7f0fd
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ public long getStateSize() {
return stateSize;
}

@Override
public void collectSizeStats(StateObjectSizeStatsCollector collector) {
collector.add(StateObjectLocation.REMOTE, getStateSize());
}

public CheckpointedStateScope getScope() {
return scope;
}
Expand Down

0 comments on commit 0b7f0fd

Please sign in to comment.