Skip to content

Conversation

apalan60
Copy link
Contributor

@apalan60 apalan60 commented Jul 21, 2025

Clarifies that the fields LogDirDescription#totalBytes,
LogDirDescription#usableBytes, and ReplicaInfo#size do not include
the size of remote storage by updating their corresponding docs.

Reviewers: Chia-Ping Tsai [email protected]

@github-actions github-actions bot added clients small Small PRs triage PRs from the community labels Jul 21, 2025
@apalan60
Copy link
Contributor Author

The implementation calculates these values based on the local log directories and does not account for remote storage.

val totalBytes = adjustForLargeFileSystems(fileStore.getTotalSpace)
val usableBytes = adjustForLargeFileSystems(fileStore.getUsableSpace)

Copy link

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

@chia7712 chia7712 merged commit a5e3bfa into apache:trunk Jul 30, 2025
25 checks passed
@github-actions github-actions bot removed needs-attention triage PRs from the community labels Jul 31, 2025
k-apol pushed a commit to k-apol/kafka that referenced this pull request Aug 8, 2025
…pache#20211)

Clarifies that the fields `LogDirDescription#totalBytes`,
`LogDirDescription#usableBytes`, and `ReplicaInfo#size` do not include
the size of remote storage by updating their corresponding docs.

Reviewers: Chia-Ping Tsai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants