comment log code

This commit is contained in:
Minghao Li 2022-02-27 14:27:06 +08:00
parent b0d73826a7
commit b6803ae9cc
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;