From e5d85e896bf6972502baba120d8fe5757e7e35cc Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 30 Mar 2021 11:19:40 +0200 Subject: [PATCH] Skip in use snapshots (cherry picked from commit 843031d8e9189010cec41e7832be6e48b2d3e5f5) # Conflicts: # urbackupclient/client.cpp --- urbackupclient/client.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/urbackupclient/client.cpp b/urbackupclient/client.cpp index b7c17420..d3951a55 100644 --- a/urbackupclient/client.cpp +++ b/urbackupclient/client.cpp @@ -6374,9 +6374,6 @@ void IndexThread::run_sc_refs_cleanup() } } - if (in_use) - continue; - if (!found_ref) { VSSLog("Reference not found. Iterating over all start tokens and share names for deletion", LL_INFO); @@ -6422,6 +6419,9 @@ void IndexThread::run_sc_refs_cleanup() } } + if (in_use) + continue; + retry_all = true; break; }