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

Move wal queue to its own repository and minor bug fixes. #1994

Merged
merged 27 commits into from
Nov 15, 2024

Conversation

mattdurham
Copy link
Collaborator

@mattdurham mattdurham commented Oct 29, 2024

This moves the queue implementation to a separate repo github.com/grafana/walqueue. In that repo I made changes to support reloading configuration and preventing duplicate metric registration on config relods.

@mattdurham mattdurham marked this pull request as ready for review October 30, 2024 13:09
@mattdurham mattdurham requested a review from a team as a code owner October 30, 2024 13:09
@mattdurham mattdurham changed the title Endpoint reload cleanly Endpoint reload cleanly to prevent duplicate registration Oct 30, 2024
@mattdurham mattdurham enabled auto-merge (squash) October 30, 2024 13:26
@mattdurham mattdurham marked this pull request as draft October 31, 2024 11:31
auto-merge was automatically disabled October 31, 2024 11:31

Pull request was converted to draft

@mattdurham
Copy link
Collaborator Author

Setting this back to draft, since I am going to move this functionality into a fork.

@mattdurham mattdurham marked this pull request as ready for review November 14, 2024 19:57
@mattdurham mattdurham changed the title Endpoint reload cleanly to prevent duplicate registration Move wal queue to its own repository Nov 14, 2024
@mattdurham mattdurham changed the title Move wal queue to its own repository Move wal queue to its own repository and minor bug fixes. Nov 14, 2024
go.mod Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@mattdurham mattdurham enabled auto-merge (squash) November 15, 2024 14:20
@mattdurham
Copy link
Collaborator Author

This also fixes #2074

@mattdurham mattdurham merged commit a37e481 into main Nov 15, 2024
19 of 20 checks passed
@mattdurham mattdurham deleted the endpoint_reload_cleanly branch November 15, 2024 14:27
vaxvms pushed a commit to vaxvms/alloy that referenced this pull request Nov 20, 2024
* Working on wal cleanup

* use wrapped mailboxes

* more safely use mailboxes.

* Fix check that is no longer needed.

* Cleanup

* Add test for metrics.

* remove check

* fix check

* lower threshold

* The go func was bogging down tests.

* Adjusting times.

* Fix issue with items not being put back into the timeseries pool.

* Add comment.

* Remove unneeded test.

* Use the same concepts.

* Use the same concepts.

* Switch to using the walqueue repo.

* add changelog

* Fix go.mod and empty file.

* update go.mod

* remove unneeded file and update to cleaner code for walqueue.

* Remove race exclusion

* Remove race exclusion

* Update CHANGELOG.md

Co-authored-by: Piotr <[email protected]>

---------

Co-authored-by: Piotr <[email protected]>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants