ironcore-dev / ironcore-dev/dpservice

GRPC Health Service hang detection

Open
#658 0 comments 0 reactions 1 assignee View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.