01-Check¶
¶
Check the consistency of error codes between header file and doc files.
1. Read all error codes from include/util/taoserror.h
2. Read all error codes from docs/zh/14-reference/09-error-code.md
3. Read all error codes from docs/en/14-reference/09-error-code.md
4. Check whether all error codes in header file are documented in both doc files
5. Check whether the description, possible cause and suggested actions are provided in both doc files
¶
Scan database & vgroups
1. Preapare 3 dnode cluster environment
2. Check scan database command correctness
3. Check scan vgroups command correctness
4. Check show scans command correctness
5. Check show scan <scan_id> command correctness
6. Check kill scan <scan_id> command correctness
7. Check error cases of scan vgroups command
- invalid sql
- error without using database
- error with duplicate vgroup
- error with invalid vgroup id
- error to scan vgroups not in the same database
- error with vgroup ids not in the same data node
8. Check success cases of scan vgroups command
9. Check scan vgroups in multiple databases command correctness
10. Check scan vgroups command after using database
¶
Tool system tables inspect
1. Check columns completeness on information_schema tables:
2. information_schema.ins_stables
3. information_schema.ins_dnode_variables
4. information_schema.ins_dnodes
5. information_schema.ins_mnodes
6. information_schema.ins_vnodes
7. information_schema.ins_users
8. information_schema.ins_user_privileges
9. information_schema.ins_grants
10. information_schema.ins_databases
11. information_schema.ins_tables
12. information_schema.ins_streams
13. information_schema.ins_topics
14. information_schema.ins_subscriptions
15. information_schema.ins_vgroups
16. information_schema.ins_stream_tasks