From fd9dcecdca6df1b351224d5351c489d4198c27cf Mon Sep 17 00:00:00 2001 From: Arne Juul Date: Mon, 30 Aug 2021 07:57:24 +0000 Subject: signal timeout instead of continuing triggering core dumps --- .../src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp b/searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp index 184bc339d98..521e1f51906 100644 --- a/searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -281,6 +282,9 @@ vespalib::string resolve_file(config::RpcFileAcquirer &fileAcquirer, vespalib::T } } LOG(info, "Got file path from file acquirer: '%s' (%s, ref='%s')", filePath.c_str(), desc.c_str(), fileref.c_str()); + if (filePath == "") { + throw config::ConfigTimeoutException("could not get file path from file acquirer"); + } return filePath; } -- cgit v1.2.3