apple / apple/foundationdb

Failing to open process ID causes a process to spin

Open
#322 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

If a disk issue causes a process to fail to open its process ID file, then the process will die. fdbmonitor will then repeatedly restart it. An alternative here could be to have a process to remain alive with no roles, which is what happens in the case that an IO error happens later in the process’s lifetime.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the process opens its process ID file and how fdbmonitor handles that failure and restarts the process. Compare this path with the later-lifetime IO error behavior described in the issue; done means a persistent PID-file open failure no longer causes repeated restarts, or the intended no-role state is clearly implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.