From 4166d8ca35ded34180d60b56105a853dd6b02ff4 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 8 Nov 2017 11:06:14 -0800 Subject: Fix a deadlock and some more work on RethinkDB (for central) integration. --- controller/FileDB.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'controller/FileDB.hpp') diff --git a/controller/FileDB.hpp b/controller/FileDB.hpp index fe9869b9..76a47936 100644 --- a/controller/FileDB.hpp +++ b/controller/FileDB.hpp @@ -32,12 +32,14 @@ public: virtual bool waitForReady(); - virtual void save(const nlohmann::json &record); + virtual void save(nlohmann::json *orig,nlohmann::json &record); virtual void eraseNetwork(const uint64_t networkId); virtual void eraseMember(const uint64_t networkId,const uint64_t memberId); + virtual void nodeIsOnline(const uint64_t memberId); + protected: std::string _networksPath; }; -- cgit v1.2.3