Skip to content

add flags for set worker thread name#3037

Merged
chenBright merged 1 commit into
apache:masterfrom
yanglimingcn:feature/add_flag_for_set_thread_name
Jul 26, 2025
Merged

add flags for set worker thread name#3037
chenBright merged 1 commit into
apache:masterfrom
yanglimingcn:feature/add_flag_for_set_thread_name

Conversation

@yanglimingcn

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: None

Problem Summary:

In some scenarios, services may prefer to keep worker thread names unchanged, as external monitoring and alerting systems already rely on custom-defined thread names. To accommodate this, we've introduced a gflag to control whether bRPC should modify worker thread names.

When thread name modification is disabled through this configuration, users can alternatively set worker thread names within the run_worker_startfn function.

What is changed and the side effects?

Changed:

Side effects:

  • Performance effects:

  • Breaking backward compatibility:


Check List:

@wwbmmm

wwbmmm commented Jul 25, 2025

Copy link
Copy Markdown
Contributor

LGTM

@chenBright chenBright left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@chenBright chenBright merged commit 60c8e69 into apache:master Jul 26, 2025
15 checks passed
wwbmmm pushed a commit that referenced this pull request Aug 2, 2025
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.

3 participants