ironcore-dev / ironcore-dev/dpservice
GRPC Health Service hang detection
Open
@PlagueCZ is already working on this.
Since Mar 26, 2025.
area/networking
enhancement
- Dominant language
- C
- Stars
- 17
- Forks
- 10
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 5
Description
Current GRPC healthcheck can not detect the hang of the worker thread in dpservice.
One idea would be to introduce a timeout in the below mentioned part of the GRPC handling code and if the timeout
happens, it would set its GRPC health state to NOT_SERVING.
Possibly effected code snippet.
while (cq_->Next(&tag, &ok) && ok) {
call = static_cast<BaseCall*>(tag);
while (call->HandleRpc() == CallState::AWAIT_MSG) {
// wait for response from worker
};
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.