aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/apps/proton/proton.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-10-16 12:58:40 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-10-16 12:58:40 +0200
commit4975bd89699729c0dfc3f7efdf15e2161d58c46c (patch)
tree666d7d7036b217302531b1a28798ecf8c8ad6e2a /searchcore/src/apps/proton/proton.cpp
parentccd90533d668eef7d204d759b92933b884038372 (diff)
Remove search::IOErrorHandler.
Diffstat (limited to 'searchcore/src/apps/proton/proton.cpp')
-rw-r--r--searchcore/src/apps/proton/proton.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/searchcore/src/apps/proton/proton.cpp b/searchcore/src/apps/proton/proton.cpp
index 05e0ea71443..c2067f744a8 100644
--- a/searchcore/src/apps/proton/proton.cpp
+++ b/searchcore/src/apps/proton/proton.cpp
@@ -3,7 +3,6 @@
#include <vespa/searchcore/proton/server/proton.h>
#include <vespa/storage/storageserver/storagenode.h>
#include <vespa/searchlib/util/statefile.h>
-#include <vespa/searchlib/util/ioerrorhandler.h>
#include <vespa/metrics/metricmanager.h>
#include <vespa/vespalib/util/signalhandler.h>
#include <vespa/vespalib/util/programoptions.h>
@@ -166,7 +165,6 @@ App::Main()
LOG(debug, "serviceidentity: '%s'", params.serviceidentity.c_str());
LOG(debug, "subscribeTimeout: '%" PRIu64 "'", params.subscribeTimeout);
std::unique_ptr<search::StateFile> stateFile;
- std::unique_ptr<search::IOErrorHandler> ioErrorHandler;
protonUP = std::make_unique<proton::Proton>(params.identity, _argc > 0 ? _argv[0] : "proton", std::chrono::milliseconds(params.subscribeTimeout));
proton::Proton & proton = *protonUP;
proton::BootstrapConfig::SP configSnapshot = proton.init();
@@ -183,7 +181,6 @@ App::Main()
if (stateIsDown(stateString)) {
LOG(error, "proton state string is %s", stateString.c_str());
}
- ioErrorHandler = std::make_unique<search::IOErrorHandler>(stateFile.get());
if ( ! params.serviceidentity.empty()) {
proton.getMetricManager().init(params.serviceidentity, proton.getThreadPool());
} else {