ethqunzhong opened a new pull request, #17803:
URL: https://github.com/apache/pulsar/pull/17803

   ### Motivation
   As #16436 supported setManagedLedgerOffloadedReadPriority by broker.conf.
   I add an unit-test to verify offloadpolicy-brokerconf-compatibled that test 
failed, show as follow:
   
![image](https://user-images.githubusercontent.com/16517186/191734894-4cea8618-f196-4426-b4d4-76e77f9b2bcc.png)
   
   offloadedDataReadPriority excepted value is `bookkeper-first` from broker's 
property but get default value `tiered-storage-first`.
   
   ### Modifications
   Fix `OffloadPoliciesImpl#getCompatibleValue` logic: add broker's property 
`managedLedgerDataReadPriority` compatible.
   
   
   ### Does this pull request potentially affect one of the following parts:
   
   _If `yes` was chosen, please highlight the changes_
   
   -   Dependencies (does it add or upgrade a dependency): (no)
   -   The public API: (no)
   -   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)
   ### Documentation
   
   Check the box below or label this PR directly.
   
   Need to update docs? 
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
     
   - [x] `doc-not-needed` 
   (Please explain why)
     
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)
   


-- 
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