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

[refactor][client] Remove useless locks in batch receiving #18005

Merged
merged 1 commit into from Oct 13, 2022

Conversation

shibd
Copy link
Member

@shibd shibd commented Oct 11, 2022

Motivation

In the current implementation, notifyPendingBatchReceivedCallBack method always runs on internalPinnedExecutor thread, So, no need to use the lock to sync it.

Modifications

  • Remove useless locks in batch receiving.

Documentation

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

Matching PR in forked repository

shibd#19

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Oct 11, 2022
@codelipenghui codelipenghui added this to the 2.12.0 milestone Oct 12, 2022
@codelipenghui codelipenghui added area/client type/refactor Code or documentation refactors. e.g. refactor code structure or methods to improve code readability labels Oct 12, 2022
@Jason918 Jason918 merged commit c57d7a0 into apache:master Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client doc-not-needed Your PR changes do not impact docs type/refactor Code or documentation refactors. e.g. refactor code structure or methods to improve code readability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants