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

[improve][broker] Clear thread local BrokerEntryMetadata instance before reuse #22752

Merged

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented May 21, 2024

Motivation

BROKER_ENTRY_METADATA is a thread local that contains the reused BrokerEntryMetadata instance.
It should be cleared before reusing.

Modifications

  • call .clear() before reusing the instance.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari added type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use ready-to-test release/3.0.6 release/3.2.4 labels May 21, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label May 21, 2024
@Technoboy- Technoboy- added this to the 3.4.0 milestone May 22, 2024
@Technoboy- Technoboy- merged commit adad1fb into apache:master May 22, 2024
51 of 52 checks passed
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request May 31, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Jun 4, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Jun 4, 2024
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/branch-3.0 cherry-picked/branch-3.2 doc-not-needed Your PR changes do not impact docs ready-to-test release/3.0.6 release/3.2.4 type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants