comment log code
This commit is contained in:
parent
b0d73826a7
commit
b6803ae9cc
|
@ -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() {
|
||||||
}
|
}
|
||||||
|
|
||||||
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() {
|
||||||
}
|
}
|
||||||
|
|
||||||
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) {
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue