mark some file to been opensource for ce-farm

This commit is contained in:
niyuhang
2023-11-15 11:44:43 +00:00
committed by ob-robot
parent 4900683cff
commit c8ace58297
685 changed files with 1080566 additions and 111051 deletions

View File

@ -0,0 +1,12 @@
let $i = 10;
while($i > 0)
{
dec $i;
let $no_leader_ls_cnt = query_get_value(select count(*) as cnt from oceanbase.__all_virtual_log_stat where tenant_id = $check_can_write_tenant_id and ls_id not in (select ls_id from oceanbase.__all_virtual_log_stat where tenant_id = $check_can_write_tenant_id and role = 'LEADER'), cnt, 1);
if ( $no_leader_ls_cnt == 0)
{
let $i = 0;
}
sleep 1;
}