@@ -373,13 +373,13 @@ manually started sequencer.
373
373
` ` ` sh
374
374
curl -X POST -H "Content-Type: application/json" --data \
375
375
'{"jsonrpc":"2.0","method":"conductor_overrideLeader","params":[],"id":1}' \
376
- http://127.0.0.1:50050
376
+ http://127.0.0.1:8547
377
377
` ` `
378
378
</Tabs.Tab>
379
379
380
380
<Tabs.Tab>
381
381
` ` ` sh
382
- cast rpc conductor_overrideLeader --rpc-url http://127.0.0.1:50050
382
+ cast rpc conductor_overrideLeader --rpc-url http://127.0.0.1:8547
383
383
` ` `
384
384
</Tabs.Tab>
385
385
</Tabs>
@@ -393,13 +393,13 @@ manually started sequencer.
393
393
` ` ` sh
394
394
curl -X POST -H "Content-Type: application/json" --data \
395
395
'{"jsonrpc":"2.0","method":"conductor_pause","params":[],"id":1}' \
396
- http://127.0.0.1:50050
396
+ http://127.0.0.1:8547
397
397
` ` `
398
398
</Tabs.Tab>
399
399
400
400
<Tabs.Tab>
401
401
` ` ` sh
402
- cast rpc conductor_pause --rpc-url http://127.0.0.1:50050
402
+ cast rpc conductor_pause --rpc-url http://127.0.0.1:8547
403
403
` ` `
404
404
</Tabs.Tab>
405
405
</Tabs>
@@ -413,13 +413,13 @@ manually started sequencer.
413
413
` ` ` sh
414
414
curl -X POST -H "Content-Type: application/json" --data \
415
415
'{"jsonrpc":"2.0","method":"conductor_resume","params":[],"id":1}' \
416
- http://127.0.0.1:50050
416
+ http://127.0.0.1:8547
417
417
` ` `
418
418
</Tabs.Tab>
419
419
420
420
<Tabs.Tab>
421
421
` ` ` sh
422
- cast rpc conductor_resume --rpc-url http://127.0.0.1:50050
422
+ cast rpc conductor_resume --rpc-url http://127.0.0.1:8547
423
423
` ` `
424
424
</Tabs.Tab>
425
425
</Tabs>
@@ -433,13 +433,13 @@ Paused returns true if the op-conductor is paused.
433
433
` ` ` sh
434
434
curl -X POST -H "Content-Type: application/json" --data \
435
435
'{"jsonrpc":"2.0","method":"conductor_paused","params":[],"id":1}' \
436
- http://127.0.0.1:50050
436
+ http://127.0.0.1:8547
437
437
` ` `
438
438
</Tabs.Tab>
439
439
440
440
<Tabs.Tab>
441
441
` ` ` sh
442
- cast rpc conductor_paused --rpc-url http://127.0.0.1:50050
442
+ cast rpc conductor_paused --rpc-url http://127.0.0.1:8547
443
443
` ` `
444
444
</Tabs.Tab>
445
445
</Tabs>
@@ -453,13 +453,13 @@ Stopped returns true if the op-conductor is stopped.
453
453
` ` ` sh
454
454
curl -X POST -H "Content-Type: application/json" --data \
455
455
'{"jsonrpc":"2.0","method":"conductor_stopped","params":[],"id":1}' \
456
- http://127.0.0.1:50050
456
+ http://127.0.0.1:8547
457
457
` ` `
458
458
</Tabs.Tab>
459
459
460
460
<Tabs.Tab>
461
461
` ` ` sh
462
- cast rpc conductor_stopped --rpc-url http://127.0.0.1:50050
462
+ cast rpc conductor_stopped --rpc-url http://127.0.0.1:8547
463
463
` ` `
464
464
</Tabs.Tab>
465
465
</Tabs>
@@ -473,13 +473,13 @@ SequencerHealthy returns true if the sequencer is healthy.
473
473
` ` ` sh
474
474
curl -X POST -H "Content-Type: application/json" --data \
475
475
'{"jsonrpc":"2.0","method":"conductor_sequencerHealthy","params":[],"id":1}' \
476
- http://127.0.0.1:50050
476
+ http://127.0.0.1:8547
477
477
` ` `
478
478
</Tabs.Tab>
479
479
480
480
<Tabs.Tab>
481
481
` ` ` sh
482
- cast rpc conductor_sequencerHealthy --rpc-url http://127.0.0.1:50050
482
+ cast rpc conductor_sequencerHealthy --rpc-url http://127.0.0.1:8547
483
483
` ` `
484
484
</Tabs.Tab>
485
485
</Tabs>
@@ -497,13 +497,13 @@ Leader returns true if the server is the leader.
497
497
` ` ` sh
498
498
curl -X POST -H "Content-Type: application/json" --data \
499
499
'{"jsonrpc":"2.0","method":"conductor_leader","params":[],"id":1}' \
500
- http://127.0.0.1:50050
500
+ http://127.0.0.1:8547
501
501
` ` `
502
502
</Tabs.Tab>
503
503
504
504
<Tabs.Tab>
505
505
` ` ` sh
506
- cast rpc conductor_leader --rpc-url http://127.0.0.1:50050
506
+ cast rpc conductor_leader --rpc-url http://127.0.0.1:8547
507
507
` ` `
508
508
</Tabs.Tab>
509
509
</Tabs>
@@ -521,21 +521,21 @@ LeaderWithID returns the current leader's server info.
521
521
` ` ` sh
522
522
curl -X POST -H "Content-Type: application/json" --data \
523
523
'{"jsonrpc":"2.0","method":"conductor_leaderWithID","params":[],"id":1}' \
524
- http://127.0.0.1:50050
524
+ http://127.0.0.1:8547
525
525
` ` `
526
526
</Tabs.Tab>
527
527
528
528
<Tabs.Tab>
529
529
` ` ` sh
530
- cast rpc conductor_leaderWithID --rpc-url http://127.0.0.1:50050
530
+ cast rpc conductor_leaderWithID --rpc-url http://127.0.0.1:8547
531
531
` ` `
532
532
</Tabs.Tab>
533
533
</Tabs>
534
534
535
535
# ### conductor_addServerAsVoter
536
536
537
537
<Callout type="info">
538
- API related to consensus. The address parameter is the raft consensus address, not the RPC address.
538
+ API related to consensus.
539
539
</Callout>
540
540
541
541
AddServerAsVoter adds a server as a voter to the cluster.
@@ -544,14 +544,14 @@ AddServerAsVoter adds a server as a voter to the cluster.
544
544
<Tabs.Tab>
545
545
` ` ` sh
546
546
curl -X POST -H "Content-Type: application/json" --data \
547
- '{"jsonrpc":"2.0","method":"conductor_addServerAsVoter","params":[<id>, <addr>, <version>],"id":1}' \
548
- http://127.0.0.1:50050
547
+ '{"jsonrpc":"2.0","method":"conductor_addServerAsVoter","params":[<id>, <raft-consensus- addr>, <version>],"id":1}' \
548
+ http://127.0.0.1:8547
549
549
` ` `
550
550
</Tabs.Tab>
551
551
552
552
<Tabs.Tab>
553
553
` ` ` sh
554
- cast rpc conductor_addServerAsVoter --rpc-url http://127.0.0.1:50050 <id> <raft-consensus-addr> <version>
554
+ cast rpc conductor_addServerAsVoter --rpc-url http://127.0.0.1:8547 <id> <raft-consensus-addr> <version>
555
555
` ` `
556
556
</Tabs.Tab>
557
557
</Tabs>
@@ -570,13 +570,13 @@ The non-voter will not participate in the leader election.
570
570
` ` ` sh
571
571
curl -X POST -H "Content-Type: application/json" --data \
572
572
'{"jsonrpc":"2.0","method":"conductor_addServerAsNonvoter","params":[],"id":1}' \
573
- http://127.0.0.1:50050
573
+ http://127.0.0.1:8547
574
574
` ` `
575
575
</Tabs.Tab>
576
576
577
577
<Tabs.Tab>
578
578
` ` ` sh
579
- cast rpc conductor_addServerAsNonvoter --rpc-url http://127.0.0.1:50050
579
+ cast rpc conductor_addServerAsNonvoter --rpc-url http://127.0.0.1:8547
580
580
` ` `
581
581
</Tabs.Tab>
582
582
</Tabs>
@@ -594,13 +594,13 @@ RemoveServer removes a server from the cluster.
594
594
` ` ` sh
595
595
curl -X POST -H "Content-Type: application/json" --data \
596
596
'{"jsonrpc":"2.0","method":"conductor_removeServer","params":[],"id":1}' \
597
- http://127.0.0.1:50050
597
+ http://127.0.0.1:8547
598
598
` ` `
599
599
</Tabs.Tab>
600
600
601
601
<Tabs.Tab>
602
602
` ` ` sh
603
- cast rpc conductor_removeServer --rpc-url http://127.0.0.1:50050
603
+ cast rpc conductor_removeServer --rpc-url http://127.0.0.1:8547
604
604
` ` `
605
605
</Tabs.Tab>
606
606
</Tabs>
@@ -618,13 +618,13 @@ TransferLeader transfers leadership to another server.
618
618
` ` ` sh
619
619
curl -X POST -H "Content-Type: application/json" --data \
620
620
'{"jsonrpc":"2.0","method":"conductor_transferLeader","params":[],"id":1}' \
621
- http://127.0.0.1:50050
621
+ http://127.0.0.1:8547
622
622
` ` `
623
623
</Tabs.Tab>
624
624
625
625
<Tabs.Tab>
626
626
` ` ` sh
627
- cast rpc conductor_transferLeader --rpc-url http://127.0.0.1:50050
627
+ cast rpc conductor_transferLeader --rpc-url http://127.0.0.1:8547
628
628
` ` `
629
629
</Tabs.Tab>
630
630
</Tabs>
@@ -642,13 +642,13 @@ TransferLeaderToServer transfers leadership to a specific server.
642
642
` ` ` sh
643
643
curl -X POST -H "Content-Type: application/json" --data \
644
644
'{"jsonrpc":"2.0","method":"conductor_transferLeaderToServer","params":[],"id":1}' \
645
- http://127.0.0.1:50050
645
+ http://127.0.0.1:8547
646
646
` ` `
647
647
</Tabs.Tab>
648
648
649
649
<Tabs.Tab>
650
650
` ` ` sh
651
- cast rpc conductor_transferLeaderToServer --rpc-url http://127.0.0.1:50050
651
+ cast rpc conductor_transferLeaderToServer --rpc-url http://127.0.0.1:8547
652
652
` ` `
653
653
</Tabs.Tab>
654
654
</Tabs>
@@ -662,13 +662,13 @@ ClusterMembership returns the current cluster membership configuration.
662
662
` ` ` sh
663
663
curl -X POST -H "Content-Type: application/json" --data \
664
664
'{"jsonrpc":"2.0","method":"conductor_clusterMembership","params":[],"id":1}' \
665
- http://127.0.0.1:50050
665
+ http://127.0.0.1:8547
666
666
` ` `
667
667
</Tabs.Tab>
668
668
669
669
<Tabs.Tab>
670
670
` ` ` sh
671
- cast rpc conductor_clusterMembership --rpc-url http://127.0.0.1:50050
671
+ cast rpc conductor_clusterMembership --rpc-url http://127.0.0.1:8547
672
672
` ` `
673
673
</Tabs.Tab>
674
674
</Tabs>
@@ -686,13 +686,13 @@ Active returns true if the op-conductor is active (not paused or stopped).
686
686
` ` ` sh
687
687
curl -X POST -H "Content-Type: application/json" --data \
688
688
'{"jsonrpc":"2.0","method":"conductor_active","params":[],"id":1}' \
689
- http://127.0.0.1:50050
689
+ http://127.0.0.1:8547
690
690
` ` `
691
691
</Tabs.Tab>
692
692
693
693
<Tabs.Tab>
694
694
` ` ` sh
695
- cast rpc conductor_active --rpc-url http://127.0.0.1:50050
695
+ cast rpc conductor_active --rpc-url http://127.0.0.1:8547
696
696
` ` `
697
697
</Tabs.Tab>
698
698
</Tabs>
@@ -711,13 +711,13 @@ layer.
711
711
` ` ` sh
712
712
curl -X POST -H "Content-Type: application/json" --data \
713
713
'{"jsonrpc":"2.0","method":"conductor_commitUnsafePayload","params":[],"id":1}' \
714
- http://127.0.0.1:50050
714
+ http://127.0.0.1:8547
715
715
` ` `
716
716
</Tabs.Tab>
717
717
718
718
<Tabs.Tab>
719
719
` ` ` sh
720
- cast rpc conductor_commitUnsafePayload --rpc-url http://127.0.0.1:50050
720
+ cast rpc conductor_commitUnsafePayload --rpc-url http://127.0.0.1:8547
721
721
` ` `
722
722
</Tabs.Tab>
723
723
</Tabs>
0 commit comments