From c3a753ddb89e7cc56d0587d8d6f0714c0f5ab541 Mon Sep 17 00:00:00 2001 From: Amogh Bharadwaj Date: Wed, 31 Jan 2024 02:06:31 +0530 Subject: [PATCH] UI: set do_initial_snapshot to true for resync (#1180) Always set `do_initial_snapshot` to true for resync This has been manually tested for a mirror with that setting set to false and then resynced --- ui/components/ResyncDialog.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/components/ResyncDialog.tsx b/ui/components/ResyncDialog.tsx index c586f72696..b84dc16e9a 100644 --- a/ui/components/ResyncDialog.tsx +++ b/ui/components/ResyncDialog.tsx @@ -40,6 +40,7 @@ export const ResyncDialog = ({ setSyncing(true); setMsg('Resyncing...'); mirrorConfig.resync = true; + mirrorConfig.doInitialSnapshot = true; const createStatus = await fetch('/api/mirrors/cdc', { method: 'POST', body: JSON.stringify({