You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
Shows the offload detail of the ledgers whether it is deleted in bookkeeper.
The ./bin/pulsar-admin topics stats-internal command now shows the ledger info of specific topic. If we are using offloader, we can know the offloaded of the ledger but not be able to know whether it is deleted in bookkeeper.
Modifications
Add bookkeeperDeleted field in org.apache.pulsar.common.policies.data.ManagedLedgerInternalStats.LedgerInfo. Fill the bookkeeperDeleted in all places where offloaded be filled.
Verifying this change
Make sure that the change passes the CI checks.
This change added tests and can be verified as follows:
url: apache#20833
Motivation
Shows the offload detail of the ledgers whether it is deleted in bookkeeper.
The
./bin/pulsar-admin topics stats-internal
command now shows the ledger info of specific topic. If we are using offloader, we can know theoffloaded
of the ledger but not be able to know whether it is deleted in bookkeeper.Modifications
Add
bookkeeperDeleted
field inorg.apache.pulsar.common.policies.data.ManagedLedgerInternalStats.LedgerInfo
. Fill thebookkeeperDeleted
in all places whereoffloaded
be filled.Verifying this change
This change added tests and can be verified as follows:
org.apache.pulsar.tests.integration.offload.TestBaseOffload#testPublishOffloadAndConsumeDeletionLag
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: dragonls#11
The text was updated successfully, but these errors were encountered: