Skip to content

Commit

Permalink
add marco
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonYao287 committed Jan 18, 2024
1 parent f57ffb7 commit 914b477
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib/homestore_backend/hs_homeobject.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(); }
Expand Down

0 comments on commit 914b477

Please sign in to comment.