Open XuPeng-SH opened 20 hours ago
issue #20247
Runtime control of debug logs related to a database|table. It helps to debug some hard-to-repro bugs.
Example select add_fault_point('fj/trace/partitionstate', ':::', 'echo', 20, 'mo_tables'); 'fj/trace/partitionstate': enable partition state trace log iargs=20,sargs=mo_tables: log_level=iargs%10 = 0 // level 0 func_id=iargs/10 = 2 // table name equal function
Example
select add_fault_point('fj/trace/partitionstate', ':::', 'echo', 20, 'mo_tables');
'fj/trace/partitionstate': enable partition state trace log iargs=20,sargs=mo_tables: log_level=iargs%10 = 0 // level 0 func_id=iargs/10 = 2 // table name equal function
What type of PR is this?
Which issue(s) this PR fixes:
issue #20247
What this PR does / why we need it:
Runtime control of debug logs related to a database|table. It helps to debug some hard-to-repro bugs.