Repository navigation
Fix break changes in namespace offload policy and RabbitMQ sink. - #7011
Conversation
| managedLedgerConfig.setAutoSkipNonRecoverableData(serviceConfig.isAutoSkipNonRecoverableData()); | ||
| OffloadPolicies offloadPolicies = policies.map(p -> p.offload_policies).orElse(null); | ||
|
|
||
| if (offloadPolicies == null) { |
There was a problem hiding this comment.
This code was there to fallback to defaults in case there is no special offload policy for a given namespace. How is this behavior maintained?
There was a problem hiding this comment.
|
The broker unit tests have failed a lot of times. Maybe something to do with this change? |
|
@srkukarni How can I get the previous error log? I think we can paste the failed tests under the comments. So that I can reproduce it on my laptop. |
|
The most recent failure was in replicator test |
|
@codelipenghui another error in filesystemoffload integration test |
| } | ||
| } | ||
|
|
||
| private void generatePropertiesForConfigurationIfNeeded() { |
There was a problem hiding this comment.
Since the purpose it's not obvious, can you add a comment on why we need this?
|
@merlimat @srkukarni Tests is passed, I merged this PR. |
…che#7011) ### Motivation Fix break changes in namespace offload policy and RabbitMQ sink.
…che#7011) ### Motivation Fix break changes in namespace offload policy and RabbitMQ sink.
…che#7011) Fix break changes in namespace offload policy and RabbitMQ sink.
…nk. (apache#7011)" This reverts commit 572429d.
|
@sijie @codelipenghui Should we include this as part of 2.5.3 release? Considering that this bug is causing offloading to fail? |
…che#7011) ### Motivation Fix break changes in namespace offload policy and RabbitMQ sink.
…che#7011) ### Motivation Fix break changes in namespace offload policy and RabbitMQ sink.
…che#7011) ### Motivation Fix break changes in namespace offload policy and RabbitMQ sink.
…che#7011) ### Motivation Fix break changes in namespace offload policy and RabbitMQ sink.
Motivation
Fix break changes in namespace offload policy and RabbitMQ sink.
Does this pull request potentially affect one of the following parts:
If
yeswas chosen, please highlight the changesDocumentation