apple / apple/foundationdb

Crash process on Sev40

Open
#2,988 7 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

A severity 40 is usually an error from which we can't recover. Because of this it is potentially dangerous to continue even if there was a Sev40.

We (Evan and I) discussed this and we think that by default we should crash a server process whenever it traces an event with a Sev40. There might be exceptions to that (potentially some `io_error`) that will need to be reviewed.

Contributor guide

Open the contributing guide

Research direction

Start by locating where Sev40 events are traced and where the server process decides whether to continue. Review the proposed io_error exceptions and existing severity handling; done means Sev40 normally crashes the process, with any approved exceptions covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.