From db2b4162a13d11962edb0f95b6ff1bb542591156 Mon Sep 17 00:00:00 2001 From: Alex Koshelev Date: Thu, 12 Dec 2024 12:29:45 -0800 Subject: [PATCH] Abort on panics See the comment for reasoning --- ipa-core/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ipa-core/Cargo.toml b/ipa-core/Cargo.toml index 496699e34..b91e7efa8 100644 --- a/ipa-core/Cargo.toml +++ b/ipa-core/Cargo.toml @@ -177,6 +177,11 @@ tempfile = "3" ipa-metrics-tracing = { path = "../ipa-metrics-tracing" } ipa-metrics = { path = "../ipa-metrics", features = ["partitions"] } +[profile.release] +# The reason for this is that we are moving towards the direction when helper processes are created per query +# in this case there is no reason to try and preserve the helper instance to serve other queries. Aborting +# makes dealing with the corrupted state easier +panic = 'abort' [lib] path = "src/lib.rs"