scripts
This commit is contained in:
parent
b5f990b48d
commit
f82f11e26d
|
@ -330,7 +330,7 @@ void bnReset() {
|
|||
tsAccessSquence = 0;
|
||||
}
|
||||
|
||||
static int32_t bnMonitorVgroups() {
|
||||
static bool bnMonitorVgroups() {
|
||||
void * pIter = NULL;
|
||||
SVgObj *pVgroup = NULL;
|
||||
bool hasUpdatingVgroup = false;
|
||||
|
|
|
@ -31,7 +31,10 @@ static void *bnThreadFunc(void *arg) {
|
|||
}
|
||||
|
||||
pthread_cond_wait(&tsBnThread.cond, &tsBnThread.mutex);
|
||||
mDebug("balance thread wakes up to work");
|
||||
bool updateSoon = bnStart();
|
||||
mDebug("balance thread finished this poll, updateSoon:%d", updateSoon);
|
||||
|
||||
bnStartTimer(updateSoon ? 1000 : -1);
|
||||
pthread_mutex_unlock(&(tsBnThread.mutex));
|
||||
}
|
||||
|
|
|
@ -137,6 +137,7 @@ echo "numOfThreadsPerCore 2.0" >> $TAOS_CFG
|
|||
echo "defaultPass taosdata" >> $TAOS_CFG
|
||||
echo "numOfLogLines 20000000" >> $TAOS_CFG
|
||||
echo "mnodeEqualVnodeNum 0" >> $TAOS_CFG
|
||||
echo "balanceInterval 1" >> $TAOS_CFG
|
||||
echo "clog 2" >> $TAOS_CFG
|
||||
#echo "cache 1" >> $TAOS_CFG
|
||||
echo "days 10" >> $TAOS_CFG
|
||||
|
|
Loading…
Reference in New Issue