diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-06-19 11:00:35 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-06-19 11:00:35 +0200 |
commit | 9d441ac8a5b781f83593133c28d68c1c4b7eafbc (patch) | |
tree | 85800a0003137c1e8b20d83864cacfd3af2afd5d /filedistribution | |
parent | aef5231c3cd608671d7d102711575145e3fcc097 (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.cpp | 4 |
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); } } } |