poorbarcode commented on PR #16841:
URL: https://github.com/apache/pulsar/pull/16841#issuecomment-1198179728

   @keyboardbobo 
   
   > and the cursor status has always been `CreatingLedger`
   
   In `ManagedCursorImpl`, there has not any stat names `creatingLedger`, I 
think you perhaps say `ManagedCursorImpl.SwitchingLedger`? Otherwise, maybe you 
say `ManagedLedgerImpl.CreatingLedger`?
   
   > I also encountered a similar scenario here. The pendingMarkDeleteOps has 
accumulated tens of thousands of requests, and the cursor status has always 
been `CreatingLedger`, and the retention cannot be executed, resulting in the 
situation that the disk space cannot be reclaimed. I don't know if it's the 
same problem?
   
   - If you want to say `ManagedCursorImpl.SwitchingLedger`. I am afraid not. 
The stat of `ManagedCursor` will change like this(even if create ledger 
failure, it will not stay at `SwitchingLedger`): 
   
   ```
   NoLedger --> SwitchingLedger --> open ledger failure --> NoLedger --> 
SwitchingLedger .... loop
   ```
   
   - If you want to say `ManagedLedgerImpl.CreatingLedger`. Could you provide 
more information? It is best to submit an issue.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to