Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

escaped quotes in broker property keys break the checksum calculation leading to out of sync status #633

Closed
gtully opened this issue Jul 3, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gtully
Copy link
Contributor

gtully commented Jul 3, 2023

When keys have dots, they must be surrounded to delimit. The default surround character " must be escaped, but this escape is not taken into account on the checksum calculation leading to an out of sync status in error.

using: key.surround=x is a workaround, but the default delimiter should work as expected.

  brokerProperties:
   - key.surround=$$
   - 'addressSettings.$$news.#$$.redeliveryMultiplier=2'

an example with error:

brokerProperties:
    - 'addressSettings.#.redeliveryMultiplier=5'
    - 'addressSettings.\"news.#\".redeliveryMultiplier=2'
    - 'addressSettings.\"order.#\".redeliveryMultiplier=3'

leads to incorrect Status:

      type: BrokerPropertiesApplied
      reason: OutOfSync
      status: 'False' 
      message: >-
        broker.properties status out of sync, expected: 2424779975, current:
        3264295767
@gtully gtully added the bug Something isn't working label Jul 3, 2023
@gtully gtully self-assigned this Jul 3, 2023
gtully added a commit to gtully/activemq-artemis-operator that referenced this issue Jul 3, 2023
@gtully gtully closed this as completed Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant