yugabyte/yugabyte-db
Ver no GitHub[DocDB] AsyncClientInitializer does not set promise on early shutdown
Open
#21.316 aberto em 5 de mar. de 2024
area/docdbgood first issuekind/bugpriority/medium
Métricas do repositório
- Stars
- (8.229 stars)
- Métricas de merge de PR
- (Mesclagem média 17d 21h) (92 fundiu PRs em 30d)
Description
Jira Link: DB-10220
Description
if we try to gracefully shutdown before the client is Initialized then we will hang waiting on Future::Get. This is because async client initializer does not set the promise if we shutdown before the client is ready. Instead we should return Result<YbClient*> and set bad status on shutdown. Not a production issue since we don't shutdown gracefully anyway.
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
- I confirm this issue does not contain any sensitive information.