From f42b8687c2d6f98ca6bf09ee13cbc1a0d0480e2a Mon Sep 17 00:00:00 2001 From: Xiaoxi Wang Date: Mon, 11 Jul 2022 11:26:46 -0700 Subject: [PATCH] add comment --- fdbserver/include/fdbserver/DDTxnProcessor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fdbserver/include/fdbserver/DDTxnProcessor.h b/fdbserver/include/fdbserver/DDTxnProcessor.h index 9d69253839..a2cb8cec92 100644 --- a/fdbserver/include/fdbserver/DDTxnProcessor.h +++ b/fdbserver/include/fdbserver/DDTxnProcessor.h @@ -78,7 +78,9 @@ public: const DatabaseConfiguration& configuration) const override; }; -// run mock transaction +// A mock transaction implementation for test usage. +// Contract: every function involving mock transaction should return immediately to mimic the ACI property of real +// transaction. class DDMockTxnProcessor : public IDDTxnProcessor {}; #endif // FOUNDATIONDB_DDTXNPROCESSOR_H