From 914b4778bae3ee28a6483971efdcb1498e8486ba Mon Sep 17 00:00:00 2001 From: Jie Yao Date: Thu, 18 Jan 2024 05:56:08 -0700 Subject: [PATCH] add marco --- src/lib/homestore_backend/hs_homeobject.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/homestore_backend/hs_homeobject.hpp b/src/lib/homestore_backend/hs_homeobject.hpp index 4286510a..722dd223 100644 --- a/src/lib/homestore_backend/hs_homeobject.hpp +++ b/src/lib/homestore_backend/hs_homeobject.hpp @@ -217,9 +217,10 @@ class HSHomeObject : public HomeObjectImpl { shared< HeapChunkSelector > chunk_selector_; bool recovery_done_{false}; - // used for testing when we only have solo_repl_dev. - // TODO: remove or change this when we have raft_repl_dev. +// used for test +#ifndef NDEBUG shared< std::binary_semaphore > smphSignal; +#endif private: static homestore::ReplicationService& hs_repl_service() { return homestore::hs()->repl_service(); }