Skip to content

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

Closed

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.

Activity

  1. added
    type/bug
    on Jul 7, 2022
  2. self-assigned this
    on Jul 7, 2022
  3. ethqunzhong commented on Jul 6, 2023

    @ethqunzhong
    ContributorAuthor

    Related PR #17803

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions