From c17ad44ab8cb97433e68b5593f67d8672da0db4d Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 20 Oct 2026 03:09:21 +0200 Subject: replace snapshots by quarantine & replay --- src/compaction/api.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/compaction/api.rs') diff --git a/src/compaction/api.rs b/src/compaction/api.rs index e55d018..7f423da 100644 --- a/src/compaction/api.rs +++ b/src/compaction/api.rs @@ -85,7 +85,7 @@ enum StartError { Store(#[from] StoreError), } -fn error_response( +pub(super) fn error_response( status: StatusCode, message: impl Into, details: Option, @@ -467,6 +467,7 @@ pub(crate) async fn epochs(State(host): State) -> Response { "current": current, "archived": host.compaction().archived_epochs(), "catchUp": host.compaction().catch_up_report(), + "quarantine": host.compaction().list_quarantine(|entry| entry.id.clone()), })) .into_response() } -- cgit v1.3.1