02-Taosc¶
¶
Client config hot refresh
1. Alter taos.cfg item by "alter" sql
2. Show local variant to verify
3. Restart taosd
4. Show local variant to verify again
¶
Client options
1. Config set countAlwaysReturnValue to 0
2. Create 1 database and 1 normal table, 2 super table with 4 child tables
3. Query count/hyperloglog on empty stable and child tables
4. Expect return 0 rows for all above queries
5. Query count with group by on empty stable and select hyperloglog(NULL)
6. Expect return 1 row
¶
Taosc config hot refresh
1. Execute "alter all dnodes 'resetlog';"
2. Expect found 'reset log file' in taosd logs
3. Hot refresh client config queryPolicy/numOfLogLines/logKeepDays
4. Hot refresh server config mndSdbWriteDelta/enableWhiteList/audit and more
5. Expect config value changed successfully