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

[Backport stable/8.0] Abbreviate Deployment Distribution records in compact logger #10075

Merged
merged 3 commits into from
Aug 16, 2022

Conversation

backport-action
Copy link
Collaborator

Description

Backport of #10073 to stable/8.0.

relates to #10064

The abbreviations of the compact logger are applied on the text
sequentially. So far the order didn't matter because the keys don't
overlap. But, I want to add some new keys that do overlap.

This changes the abbreviations from a Map to a List of Entries to
strictly preserve the defined ordering.

(cherry picked from commit 9590133)
Deployment and Deployment_Distribution record types should be
abbreviated correctly. However, only DISTRIBUTED was abbreviated, which
is an intent and not a record type. This led to some strange logs when
reading the compact log.

By removing the DISTRIBUTED abbreviation and adding abbreviations for
the record types we get a much cleaner log.

(cherry picked from commit b54a409)
Copy link
Member

@Zelldon Zelldon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

zeebe-bors-camunda bot added a commit that referenced this pull request Aug 16, 2022
10075: [Backport stable/8.0] Abbreviate Deployment Distribution records in compact logger r=Zelldon a=backport-action

# Description
Backport of #10073 to `stable/8.0`.

relates to #10064

Co-authored-by: Nico Korthout <nico.korthout@camunda.com>
@zeebe-bors-camunda
Copy link
Contributor

Build failed:

@korthout
Copy link
Member

bors retry

@zeebe-bors-camunda
Copy link
Contributor

@zeebe-bors-camunda zeebe-bors-camunda bot merged commit 2167d8c into stable/8.0 Aug 16, 2022
@zeebe-bors-camunda zeebe-bors-camunda bot deleted the backport-10073-to-stable/8.0 branch August 16, 2022 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants