summaryrefslogtreecommitdiffstats
path: root/filedistribution
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-06-19 11:00:35 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-06-19 11:00:35 +0200
commit9d441ac8a5b781f83593133c28d68c1c4b7eafbc (patch)
tree85800a0003137c1e8b20d83864cacfd3af2afd5d /filedistribution
parentaef5231c3cd608671d7d102711575145e3fcc097 (diff)
On timeout we will just do a quick restart and start over.
Diffstat (limited to 'filedistribution')
-rw-r--r--filedistribution/src/vespa/filedistribution/model/filedistributionmodelimpl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/filedistribution/src/vespa/filedistribution/model/filedistributionmodelimpl.cpp b/filedistribution/src/vespa/filedistribution/model/filedistributionmodelimpl.cpp
index 815109fc9ac..ad415c11928 100644
--- a/filedistribution/src/vespa/filedistribution/model/filedistributionmodelimpl.cpp
+++ b/filedistribution/src/vespa/filedistribution/model/filedistributionmodelimpl.cpp
@@ -227,6 +227,10 @@ FileDistributionModelImpl::configure(std::unique_ptr<FilereferencesConfig> confi
_filesToDownloadChanged();
} catch (const ZKConnectionLossException & e) {
LOG(info, "Connection loss in reconfigure of file references, resuming. %s", e.what());
+ } catch (const ZKOperationTimeoutException & e) {
+ LOG(warning, "Operation timed out in reconfigure of file references. "
+ "Will do quick exit to start a clean sheet. %s", e.what());
+ std::quick_exit(41);
}
}
}