GitHub user dao-jun added a comment to the discussion: topic's totalSize, 
storageSize, offloadedStorageSize

You are misunderstanding
1. storageSize: total bytes of the topic, includes offloaded and BK
2. offloadedStorageSize: The bytes of data offloaded to tiered-storage.
3. managedLedgerOffloadThresholdInBytes: If the bytes of data in BK exceeds the 
threshold, offload the data to tiered-storage which is exceeded. Say, If 3Gb 
data in BK, and `managedLedgerOffloadThresholdInBytes` is 2Gb, will offload 
3Gb-2Gb = 1Gb data to tired-storage. So the `storageSize`=3Gb, 
`offloadedStorageSize` = 1Gb.

Repeat it again, storageSize = BK size + offloadedStorageSize. BK size means 
that the bytes of data stores in Bookkeeper.z

GitHub link: 
https://github.com/apache/pulsar/discussions/22301#discussioncomment-8924509

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to