提交 b6803ae9 编写于 作者: M Minghao Li

comment log code

上级 b0d73826
...@@ -34,7 +34,7 @@ extern "C" { ...@@ -34,7 +34,7 @@ extern "C" {
typedef struct SRaftStore { typedef struct SRaftStore {
SyncTerm currentTerm; SyncTerm currentTerm;
SRaftId voteFor; SRaftId voteFor;
FileFd fd; //FileFd fd;
char path[RAFT_STORE_PATH_LEN]; char path[RAFT_STORE_PATH_LEN];
} SRaftStore; } SRaftStore;
......
...@@ -34,7 +34,7 @@ void doSync() { ...@@ -34,7 +34,7 @@ void doSync() {
} }
int main() { int main() {
taosInitLog((char*)"syncEnvTest.log", 100000, 10); //taosInitLog((char*)"syncEnvTest.log", 100000, 10);
tsAsyncLog = 0; tsAsyncLog = 0;
sDebugFlag = 143 + 64; sDebugFlag = 143 + 64;
......
...@@ -43,7 +43,7 @@ void doSync() { ...@@ -43,7 +43,7 @@ void doSync() {
} }
int main() { int main() {
taosInitLog((char*)"syncPingTest.log", 100000, 10); //taosInitLog((char*)"syncPingTest.log", 100000, 10);
tsAsyncLog = 0; tsAsyncLog = 0;
sDebugFlag = 143 + 64; sDebugFlag = 143 + 64;
......
...@@ -14,7 +14,7 @@ void *pingFunc(void *param) { ...@@ -14,7 +14,7 @@ void *pingFunc(void *param) {
} }
int main() { int main() {
taosInitLog((char *)"syncTest.log", 100000, 10); //taosInitLog((char *)"syncTest.log", 100000, 10);
tsAsyncLog = 0; tsAsyncLog = 0;
sDebugFlag = 143 + 64; sDebugFlag = 143 + 64;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册