You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/07 07:12:22 UTC

[GitHub] [pulsar] ethqunzhong opened a new issue, #16432: [tiered-storage]managedLedgerDataReadPriority may not work?

ethqunzhong opened a new issue, #16432:
URL: https://github.com/apache/pulsar/issues/16432

   **Describe the bug**
   from this PR's configuration [#8717 Configurable data source for offloaded messages](https://github.com/apache/pulsar/pull/8717/files#:~:text=private%20String%20managedLedgerDataReadPriority%20%3D%20OffloadPolicies.OffloadedReadPriority.TIERED_STORAGE_FIRST) ,  we could set data read priority `bookkeeper-first` or `tiered-storage-first` by cli cmd or set `managedLedgerDataReadPriority` in broker.conf.
   but seem it not work when i set `managedLedgerDataReadPriority` in broker.conf 
   
   **To Reproduce**
   write a unit-test in ServiceConfigurationTest
   1. set `managedLedgerDataReadPriority=bookkeeper-first` in configurations/pulsar_broker_test.conf
   2. init serviceConfig and run test to create offloadPolicies by serviceConfig
   3. check if offloadPolicies's ReadPriority equals to `bookkeeper-first`
   
   **Expected behavior**
   offloadPolicies's ReadPriority equals to `bookkeeper-first`  & the unit test pass
   
   **Screenshots**
   configurations/pulsar_broker_test.conf
   <img width="648" alt="image" src="https://user-images.githubusercontent.com/16517186/177712683-5e184e9a-588c-4687-9894-3c98943b82a8.png">
   unit test
   <img width="961" alt="image" src="https://user-images.githubusercontent.com/16517186/177712800-a3b889cf-a16b-451d-9f61-e678ab307fb4.png">
   unit test failed
   <img width="1289" alt="image" src="https://user-images.githubusercontent.com/16517186/177712994-86c48d0d-24b7-4f0c-acdb-3590c4a8c8ed.png">
   
   
   
   **Desktop (please complete the following information):**
    - OS: local unit test
   
   **Additional context**
   Add any other context about the problem here.
   


-- 
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: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] ethqunzhong commented on issue #16432: [tiered-storage]managedLedgerDataReadPriority may not work?

Posted by "ethqunzhong (via GitHub)" <gi...@apache.org>.
ethqunzhong commented on issue #16432:
URL: https://github.com/apache/pulsar/issues/16432#issuecomment-1623092993

   Related PR https://github.com/apache/pulsar/pull/17803


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] codelipenghui closed issue #16432: [tiered-storage]managedLedgerDataReadPriority may not work?

Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #16432: [tiered-storage]managedLedgerDataReadPriority may not work?
URL: https://github.com/apache/pulsar/issues/16432


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org