From 2c35e35b30bcbde571e8099a50145945ca94925c Mon Sep 17 00:00:00 2001 From: Glenn Hickey Date: Thu, 20 Feb 2020 16:41:07 -0500 Subject: [PATCH] disable forking in snapshot writing --- kyototycoon/kttimeddb.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kyototycoon/kttimeddb.cc b/kyototycoon/kttimeddb.cc index a11fe64..490dc06 100644 --- a/kyototycoon/kttimeddb.cc +++ b/kyototycoon/kttimeddb.cc @@ -93,6 +93,12 @@ bool TimedDB::dump_snapshot_atomic(const std::string& dest, kc::Compressor* zcom info == typeid(kc::StashDB) || info == typeid(kc::CacheDB) || info == typeid(kc::GrassDB)) forkable = true; } + + /* hack to get cactus running on Ubuntu 18.04 + see: https://github.com/ComparativeGenomicsToolkit/cactus/pull/148#issuecomment-589151694 + */ + forkable = false; + int64_t cpid = -1; if (forkable) { class Forker : public kc::BasicDB::FileProcessor {