HA Action

Request

  1. GET /rest/v1/ha

Description

HA Action 用于获取 FE 集群的高可用组信息。

Path parameters

Query parameters

Request body

Response

  1. {
  2. "msg": "success",
  3. "code": 0,
  4. "data": {
  5. "Observernodes": [],
  6. "CurrentJournalId": [{
  7. "Value": 433648,
  8. "Name": "FrontendRole"
  9. }],
  10. "Electablenodes": [{
  11. "Value": "host1",
  12. "Name": "host1"
  13. }],
  14. "allowedFrontends": [{
  15. "Value": "name: 192.168.1.1_9213_1597652404352, role: FOLLOWER, 192.168.1.1:9213",
  16. "Name": "192.168.1.1_9213_1597652404352"
  17. }],
  18. "removedFronteds": [],
  19. "CanRead": [{
  20. "Value": true,
  21. "Name": "Status"
  22. }],
  23. "databaseNames": [{
  24. "Value": "433436 ",
  25. "Name": "DatabaseNames"
  26. }],
  27. "FrontendRole": [{
  28. "Value": "MASTER",
  29. "Name": "FrontendRole"
  30. }],
  31. "CheckpointInfo": [{
  32. "Value": 433435,
  33. "Name": "Version"
  34. }, {
  35. "Value": "2020-09-03T02:07:37.000+0000",
  36. "Name": "lastCheckPointTime"
  37. }]
  38. },
  39. "count": 0
  40. }