[Issue 10234] New: syncrepl does not reset the retrynum