summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2011-10-12 09:35:17 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2011-10-17 13:40:08 +0200
commitbaca7e18cb51e7e91d4783b1ac96a7791bdffc21 (patch)
tree8c6b1098acdef23260c72dc7fe70b483ff603854
parent6f4116fa16ee519f0f5cac12dae729f53a939d98 (diff)
engine: fixed handling of 508
After detecting the special 508 "request slow sync" error, the LOCERR_OK must be returned to the higher levels in the stack, otherwise syncing aborts.
-rwxr-xr-xsrc/sysync/customimplds.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sysync/customimplds.cpp b/src/sysync/customimplds.cpp
index 4b9da0a..f30e469 100755
--- a/src/sysync/customimplds.cpp
+++ b/src/sysync/customimplds.cpp
@@ -1623,6 +1623,7 @@ localstatus TCustomImplDS::implMakeAdminReady(
// special case: the database requests a slow sync for internal reasons (like change tracking disabled)
// - force slow sync by removing last anchor
fLastRemoteAnchor.erase();
+ sta = LOCERR_OK;
}
}
} // if apiLoadAdminData successful