Skip to content

fix(topology): consume pending component reloads#25911

Draft
ArunPiduguDD wants to merge 1 commit into
masterfrom
arun.pidugu/fix-config-reloading-bug
Draft

fix(topology): consume pending component reloads#25911
ArunPiduguDD wants to merge 1 commit into
masterfrom
arun.pidugu/fix-config-reloading-bug

Conversation

@ArunPiduguDD

@ArunPiduguDD ArunPiduguDD commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Vector can be asked to reload specific components even when their configuration has not changed. Those components currently remain marked, causing them to restart again during every later configuration reload.

This change clears the pending list after it is used. A requested component reload now applies only to the next reload, avoiding unnecessary restarts while allowing future requests to reload the component again.

Vector configuration

Not applicable. This behavior is covered by topology reload tests.

How did you test this PR?

  • Added a regression test that verifies a pending component reload is consumed after the next topology reload and can be requested again.
  • cargo test pending_component_reloads_are_consumed_after_reload --lib --no-default-features
  • make check-clippy
  • cargo fmt --all -- --check

make check-fmt could not complete because the environment does not have the YAML formatter executable available.

Change Type

  • Bug fix
  • New feature
  • Dependencies
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

Does this PR include user facing changes?

  • Yes. A changelog fragment has been added.
  • No. A maintainer will apply the no-changelog label to this PR.

References

Consume explicit component reload requests after the next topology reload.

Environment: Datadog workspace

Co-Authored-By: Pi OpenAI GPT-5 <noreply@pi.dev>
@github-actions github-actions Bot added the domain: topology Anything related to Vector's topology code label Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: topology Anything related to Vector's topology code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant