Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cbsd/logs: handle errors when gc logs cache#35

Merged
jecluis merged 2 commits into
mainfrom
wip/cbsd-stuck
Mar 7, 2026
Merged

cbsd/logs: handle errors when gc logs cache#35
jecluis merged 2 commits into
mainfrom
wip/cbsd-stuck

Conversation

@jecluis
Copy link
Copy Markdown
Contributor

@jecluis jecluis commented Feb 27, 2026

If there are errors when garbage collecting logs from cache (which there
were, removing map items while iterating through the map), these were
silently ignored and the task would render the server useless.

At least now we ensure we log those errors and don't let the task die.

Signed-off-by: Joao Eduardo Luis <[email protected]>

(note: this patch set contains the logs patch set part of #34 , we should only merge this one after the previous has been merged)

@jecluis jecluis requested a review from UweSchwaeke February 27, 2026 11:10
If there are errors when garbage collecting logs from cache (which there
were, removing map items while iterating through the map), these were
silently ignored and the task would render the server useless.

At least now we ensure we log those errors and don't let the task die.

Signed-off-by: Joao Eduardo Luis <[email protected]>
UweSchwaeke
UweSchwaeke previously approved these changes Mar 2, 2026
@jecluis jecluis dismissed UweSchwaeke’s stale review March 7, 2026 22:11

The merge-base changed after approval.

@jecluis jecluis merged commit e310c97 into main Mar 7, 2026
@jecluis jecluis deleted the wip/cbsd-stuck branch March 7, 2026 22:13
@jecluis jecluis restored the wip/cbsd-stuck branch March 7, 2026 22:17
@jecluis jecluis deleted the wip/cbsd-stuck branch March 7, 2026 22:17
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.

2 participants