From 9d441ac8a5b781f83593133c28d68c1c4b7eafbc Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Mon, 19 Jun 2017 11:00:35 +0200 Subject: On timeout we will just do a quick restart and start over. --- .../src/vespa/filedistribution/model/filedistributionmodelimpl.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'filedistribution/src') 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 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); } } } -- cgit v1.2.3