[DocDB] Return before deadline from AreNodesSafeToTakeDown #21855
Labels
area/docdb
YugabyteDB core features
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-10754
Description
AreNodesSafeToTakeDown
currently uses the RPC's deadline as its deadline for how long to wait for responses from tservers and masters. This means that the client does not get a readable error when we hit the timeout, since it usually also stops waiting on the RPC. Instead,AreNodesSafeToTakeDown
should return early and provide a readable error message.Issue Type
kind/enhancement
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: