15 lines
450 B
Plaintext
15 lines
450 B
Plaintext
# start a new learner
|
|
call dbms_consensus.add_learner("127.0.0.1:23800");
|
|
select count(*) from information_schema.alisql_cluster_global where role='LEARNER';
|
|
count(*)
|
|
1
|
|
# Kill and restart
|
|
select count(*) from information_schema.alisql_cluster_global where role='LEARNER';
|
|
count(*)
|
|
1
|
|
# Kill and restart
|
|
select count(*) from information_schema.alisql_cluster_global where role='LEARNER';
|
|
count(*)
|
|
1
|
|
call dbms_consensus.drop_learner("127.0.0.1:23800");
|