forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow ML offload immediately after ledger closed (apache#1965)
The documentation said that only negative values disabled. If a user wants data to be offloaded as soon as possible, the obvious thing is to set the threshold to 0. Previously this disabled as the check was > 0, rather than >=. This patch changes the ML implementation to accept 0 as a threshold and adds a test to ensure if specified, the ledgers are offloaded as soon as possible. Master Issue: apache#1511
- Loading branch information
Showing
3 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters