Skip to content

[tiered-storage]managedLedgerDataReadPriority may not work? #16432

@ethqunzhong

Description

@ethqunzhong

Describe the bug
from this PR's configuration #8717 Configurable data source for offloaded messages , 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
image
unit test
image
unit test failed
image

Desktop (please complete the following information):

  • OS: local unit test

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

type/bugThe PR fixed a bug or issue reported a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions