Renkai commented on a change in pull request #8717:
URL: https://github.com/apache/pulsar/pull/8717#discussion_r549080113



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
##########
@@ -1262,6 +1263,12 @@ public void openLedgerFailed(ManagedLedgerException 
exception, Object ctx) {
                     topicLevelOffloadPolicies,
                     
OffloadPolicies.oldPoliciesCompatible(nsLevelOffloadPolicies, 
policies.orElse(null)),
                     getPulsar().getConfig().getProperties());
+
+            if (offloadPolicies != null && 
serviceConfig.getManagedLedgerDataReadPriority() != null) {
+                offloadPolicies.setManagedLedgerOffloadedReadPriority(

Review comment:
       I removed these lines since the initialize progress should already be 
finished by ` OffloadPolicies.mergeConfiguration`.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to