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

cloud_storage_clients/client_pool: handle broken _self_config_barrier #16385

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

andijcr
Copy link
Contributor

@andijcr andijcr commented Jan 31, 2024

_self_config_barrier is a semaphore used as a barrier for the self config step.

at shutdown_connections/stop it's broken (like it's done for _cvar the condition_variable), so it's not useful to bubble up the broken_named_semaphore exception.

the code after this will convert it to a gate_closed_exception

see https://github.com/redpanda-data/redpanda/pull/12632/files#r1293657997

This removes some failures from #15150
happening because this ERROR line appearing in the log

ERROR 2024-01-30 09:22:56,880 [shard 2:au  ] cloud_storage - [fiber76~122|0|29632ms] - remote.cc:1243 - Failed to delete keys: Semaphore broken: self_config_barrier

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x
  • v23.1.x

Release Notes

  • none

_self_config_barrier is a semaphore used as a barrier for the self
config step.

at shutdown_connections/stop it's broken (like it's done for _cvar the
condition_variable), so it's not useful to bubble up the
broken_named_semaphore exception.

the code after this will convert it to a gate_closed_exception
these silence broken_named_semaphore generated by client_pool::acquire.
since this exception is handled locally there, they are not needed
anymore
@vbotbuildovich
Copy link
Collaborator

@andijcr andijcr requested review from Lazin, dotnwat and andrwng and removed request for dotnwat January 31, 2024 16:46
@andijcr andijcr merged commit 75f6466 into redpanda-data:dev Jan 31, 2024
18 checks passed
@vbotbuildovich
Copy link
Collaborator

/backport v23.3.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants