From b6803ae9cc109d9d0f99b137383b627fd7bae7dd Mon Sep 17 00:00:00 2001 From: Minghao Li Date: Sun, 27 Feb 2022 14:27:06 +0800 Subject: [PATCH] comment log code --- source/libs/sync/inc/syncRaftStore.h | 2 +- source/libs/sync/test/syncEnvTest.cpp | 2 +- source/libs/sync/test/syncPingTest.cpp | 2 +- source/libs/sync/test/syncTest.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/libs/sync/inc/syncRaftStore.h b/source/libs/sync/inc/syncRaftStore.h index bdaeb81aee..0fdbd7a150 100644 --- a/source/libs/sync/inc/syncRaftStore.h +++ b/source/libs/sync/inc/syncRaftStore.h @@ -34,7 +34,7 @@ extern "C" { typedef struct SRaftStore { SyncTerm currentTerm; SRaftId voteFor; - FileFd fd; + //FileFd fd; char path[RAFT_STORE_PATH_LEN]; } SRaftStore; diff --git a/source/libs/sync/test/syncEnvTest.cpp b/source/libs/sync/test/syncEnvTest.cpp index 14821ca520..1d050e7094 100644 --- a/source/libs/sync/test/syncEnvTest.cpp +++ b/source/libs/sync/test/syncEnvTest.cpp @@ -34,7 +34,7 @@ void doSync() { } int main() { - taosInitLog((char*)"syncEnvTest.log", 100000, 10); + //taosInitLog((char*)"syncEnvTest.log", 100000, 10); tsAsyncLog = 0; sDebugFlag = 143 + 64; diff --git a/source/libs/sync/test/syncPingTest.cpp b/source/libs/sync/test/syncPingTest.cpp index b69b102b54..e62d051946 100644 --- a/source/libs/sync/test/syncPingTest.cpp +++ b/source/libs/sync/test/syncPingTest.cpp @@ -43,7 +43,7 @@ void doSync() { } int main() { - taosInitLog((char*)"syncPingTest.log", 100000, 10); + //taosInitLog((char*)"syncPingTest.log", 100000, 10); tsAsyncLog = 0; sDebugFlag = 143 + 64; diff --git a/source/libs/sync/test/syncTest.cpp b/source/libs/sync/test/syncTest.cpp index 12b0905fa0..035ed54629 100644 --- a/source/libs/sync/test/syncTest.cpp +++ b/source/libs/sync/test/syncTest.cpp @@ -14,7 +14,7 @@ void *pingFunc(void *param) { } int main() { - taosInitLog((char *)"syncTest.log", 100000, 10); + //taosInitLog((char *)"syncTest.log", 100000, 10); tsAsyncLog = 0; sDebugFlag = 143 + 64;