You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Early versions of tests always first node as a primary in a cluster.
With automated leader election leader can be on any node in clustera,
so discovery of primary instance has been added.
It consists of SQL function `_LEADER()` implemented in Lua,
```
unix/:/var/run/tarantool/jepsen.control> box.execute([[SELECT _LEADER()]])
---
- metadata:
- name: COLUMN_1
type: string
rows:
- ['89.208.84.154']
...
```
`primary` function that connects to desired node and gets IP address of primary
instance using `_LEADER()` function and `primaries` function that gather
information about primaries on every node in a cluster.
Closes#43Closes#17
0 commit comments