vector icon indicating copy to clipboard operation
vector copied to clipboard

Duplicate logs in graphql clients when vector config is reloaded by config watcher

Open utibeabasi6 opened this issue 8 months ago • 0 comments

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

Logs are getting duplicated in the graphql client when i have the --watch-config flag set and i make a change to the config file Ive seen this happening on both the macos and alpine versions

How to reprocuce

  • Start vector with the graphql api enabled and --watch-config flag set
  • Subscribe to log events using the outputEventsByComponentIdPatterns graphql subscription
  • Make a change to the config file and save
  • The logs get duplicated

Before reloading the config

Image

After reloading the config

Image

Configuration


Version

0.46.1 (aarch64-apple-darwin 9a19e8a 2025-04-14 18:36:30.707862743)

Debug Output


Example Data

No response

Additional Context

No response

References

No response

utibeabasi6 avatar May 11 '25 05:05 utibeabasi6