diff --git a/src/box/engine.cc b/src/box/engine.cc index 64fc0bcee98d11c3fdf6d8af792c68bf77128172..793bbc92d6ae3b0ca1f215768154bef10f4fc4f5 100644 --- a/src/box/engine.cc +++ b/src/box/engine.cc @@ -47,12 +47,6 @@ EngineFactory::EngineFactory(const char *engine_name) void EngineFactory::init() {} -void EngineFactory::recover() -{} - -void EngineFactory::shutdown() -{} - void EngineFactory::begin(struct txn*, struct space*) {} @@ -97,7 +91,6 @@ void engine_shutdown() { EngineFactory *e, *tmp; rlist_foreach_entry_safe(e, &engines, link, tmp) { - e->shutdown(); delete e; } } diff --git a/src/box/engine.h b/src/box/engine.h index 71340c4f2f38ce00c9a2f164dd1d1a206e766255..9acddbc38bb05c965044b93b2c9dd72b6b90474b 100644 --- a/src/box/engine.h +++ b/src/box/engine.h @@ -117,10 +117,6 @@ class EngineFactory: public Object { virtual void init(); /** Create a new engine instance for a space. */ virtual Engine *open() = 0; - /** Called at server shutdown. */ - virtual void shutdown(); - /** Recover engine, called once at startup. */ - virtual void recover(); /* Inform engine about a recovery stage change. */ virtual void recoveryEvent(enum engine_recovery_event); /** @@ -144,6 +140,7 @@ class EngineFactory: public Object { virtual void commit(struct txn*); virtual void rollback(struct txn*); virtual void set_snapshot_lsn(int64_t lsn) = 0; + /** * Engine snapshotting support. */