diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-01-04 08:46:37 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-01-04 08:46:37 +0000 |
commit | aff6865b3ccaa909b05904b9a3aae81e77594b9b (patch) | |
tree | 5445ca15a672ac8610b948803f624c5bd22bf7e7 /storage | |
parent | 65df61f0c3d23ae95dbe8cb4296cc4c2d3e7fb6e (diff) |
GC unused _threadLockCheckInterval and _failDiskOnError members
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp | 4 | ||||
-rw-r--r-- | storage/src/vespa/storage/persistence/filestorage/filestormanager.h | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp b/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp index 0626f3d687e..6b70148a859 100644 --- a/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp +++ b/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp @@ -52,8 +52,6 @@ FileStorManager(const config::ConfigUri & configUri, spi::PersistenceProvider& p _threads(), _bucketOwnershipNotifier(std::make_unique<BucketOwnershipNotifier>(_component, *this)), _configFetcher(configUri.getContext()), - _threadLockCheckInterval(60), - _failDiskOnError(false), _use_async_message_handling_on_schedule(false), _metrics(std::make_unique<FileStorMetrics>()), _closed(false), @@ -163,8 +161,6 @@ FileStorManager::configure(std::unique_ptr<vespa::config::content::StorFilestorC // If true, this is not the first configure. bool liveUpdate = ! _threads.empty(); - _threadLockCheckInterval = config->diskOperationTimeout; - _failDiskOnError = (config->failDiskAfterErrorCount > 0); _use_async_message_handling_on_schedule = config->useAsyncMessageHandlingOnSchedule; if (!liveUpdate) { diff --git a/storage/src/vespa/storage/persistence/filestorage/filestormanager.h b/storage/src/vespa/storage/persistence/filestorage/filestormanager.h index af290b7b085..08135fb6c9b 100644 --- a/storage/src/vespa/storage/persistence/filestorage/filestormanager.h +++ b/storage/src/vespa/storage/persistence/filestorage/filestormanager.h @@ -64,8 +64,6 @@ class FileStorManager : public StorageLinkQueued, std::unique_ptr<vespa::config::content::StorFilestorConfig> _config; config::ConfigFetcher _configFetcher; - uint32_t _threadLockCheckInterval; // In seconds - bool _failDiskOnError; bool _use_async_message_handling_on_schedule; std::shared_ptr<FileStorMetrics> _metrics; std::unique_ptr<FileStorHandler> _filestorHandler; |