MarvinCai opened a new pull request #9561:
URL: https://github.com/apache/pulsar/pull/9561
Fixes #9560
### Motivation
When there's ongoing expire message request or subscription is almost catch
up, an expire-message request won't be executed while admin cli won't inform
user about that.
### Modifications
Add a boolean as return value for
PersistentMessageExpiryMonitor.expireMessage indicating if the expire message
operation is issued or not, and return corresponding message to user if the
operation is not executed.
### Verifying this change
This change added tests and can be verified as follows:
- Add test case for new change.
### Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API: yes
- The schema: no
- The default values of configurations: no
- The wire protocol: no
- The rest endpoints: no
- The admin cli options: no
- Anything that affects deployment: no
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]