diff options
author | Tor Egge <Tor.Egge@yahoo-inc.com> | 2017-04-25 14:27:50 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@yahoo-inc.com> | 2017-04-26 12:47:09 +0000 |
commit | 652f459e4711fa970ebfc1d5bd3d787bd590a417 (patch) | |
tree | ac24875c525f4b0cd41bacf8a118836ef4ae5c58 /searchcorespi | |
parent | 1a840959d6af545d59deca756ee5a47d3170ab29 (diff) |
Remove usage of wipe history.
Diffstat (limited to 'searchcorespi')
5 files changed, 0 insertions, 21 deletions
diff --git a/searchcorespi/src/tests/plugin/plugin.cpp b/searchcorespi/src/tests/plugin/plugin.cpp index 839c026607c..f5e36cc17a3 100644 --- a/searchcorespi/src/tests/plugin/plugin.cpp +++ b/searchcorespi/src/tests/plugin/plugin.cpp @@ -35,7 +35,6 @@ public: return l; } virtual void setSchema(const Schema &, SerialNum) override { } - virtual void wipeHistory(SerialNum) override { } }; class IndexManagerFactory : public searchcorespi::IIndexManagerFactory diff --git a/searchcorespi/src/vespa/searchcorespi/index/iindexmanager.cpp b/searchcorespi/src/vespa/searchcorespi/index/iindexmanager.cpp index eb47aaf043e..01161f6f7a1 100644 --- a/searchcorespi/src/vespa/searchcorespi/index/iindexmanager.cpp +++ b/searchcorespi/src/vespa/searchcorespi/index/iindexmanager.cpp @@ -3,12 +3,6 @@ namespace searchcorespi { -void -IIndexManager::wipeHistory(SerialNum wipeSerial) -{ - (void) wipeSerial; -} - IIndexManager::Reconfigurer::~Reconfigurer() { } diff --git a/searchcorespi/src/vespa/searchcorespi/index/iindexmanager.h b/searchcorespi/src/vespa/searchcorespi/index/iindexmanager.h index c2976699edb..567a4b0b208 100644 --- a/searchcorespi/src/vespa/searchcorespi/index/iindexmanager.h +++ b/searchcorespi/src/vespa/searchcorespi/index/iindexmanager.h @@ -157,13 +157,6 @@ public: * @param schema The new schema to start using. **/ virtual void setSchema(const Schema &schema, SerialNum serialNum) = 0; - - /** - * Wipes remains of removed fields from this index manager. - * - * @param wipeSerial The serial number of this wipe operation. - **/ - virtual void wipeHistory(SerialNum wipeSerial); }; } // namespace searchcorespi diff --git a/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp b/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp index 795bf67f48e..1d0bd08ea98 100644 --- a/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp +++ b/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp @@ -1224,11 +1224,5 @@ IndexMaintainer::internalWipeHistory(const Schema &schema, SerialNum wipeSerial) } } -void -IndexMaintainer::wipeHistory(SerialNum wipeSerial) -{ - internalWipeHistory(getSchema(), wipeSerial); -} - } // namespace index } // namespace searchcorespi diff --git a/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.h b/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.h index b8f5e668701..3d28bf72b94 100644 --- a/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.h +++ b/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.h @@ -383,7 +383,6 @@ public: IFlushTarget::List getFlushTargets() override; void setSchema(const Schema & schema, SerialNum serialNum) override ; - void wipeHistory(SerialNum wipeSerial) override; }; } // namespace index |