Now I have tested with 9 Alphas just to release of conscience
Same result.
{
"counter": "25",
"groups": {
"1": {
"members": {
"1": {
"id": "1",
"groupId": 1,
"addr": "localhost:7081",
"leader": true,
"lastUpdate": "1584074470"
},
"2": {
"id": "2",
"groupId": 1,
"addr": "localhost:7082"
},
"3": {
"id": "3",
"groupId": 1,
"addr": "localhost:7083"
}
},
"tablets": {
"dgraph.graphql.schema": {
"groupId": 1,
"predicate": "dgraph.graphql.schema"
},
"dgraph.type": {
"groupId": 1,
"predicate": "dgraph.type"
},
"gid": {
"groupId": 1,
"predicate": "gid"
},
"label": {
"groupId": 1,
"predicate": "label"
}
},
"checksum": "11670762211979891901"
},
"2": {
"members": {
"4": {
"id": "4",
"groupId": 2,
"addr": "localhost:7084",
"leader": true,
"lastUpdate": "1584074485"
},
"5": {
"id": "5",
"groupId": 2,
"addr": "localhost:7085"
},
"6": {
"id": "6",
"groupId": 2,
"addr": "localhost:7086"
}
},
"checksum": "11160318154034397263"
},
"3": {
"members": {
"7": {
"id": "7",
"groupId": 3,
"addr": "localhost:7087",
"leader": true,
"lastUpdate": "1584074502"
},
"8": {
"id": "8",
"groupId": 3,
"addr": "localhost:7088"
},
"9": {
"id": "9",
"groupId": 3,
"addr": "localhost:7089"
}
},
"checksum": "11160318154034397263"
}
},
"zeros": {
"1": {
"id": "1",
"addr": "localhost:5080",
"leader": true
},
"2": {
"id": "2",
"addr": "localhost:5081"
},
"3": {
"id": "3",
"addr": "localhost:5082"
}
},
"maxLeaseId": "10000",
"maxTxnTs": "10000",
"maxRaftId": "9",
"cid": "6795de85-2182-43d7-a2bb-7899f17561ba",
"license": {
"maxNodes": "18446744073709551615",
"expiryTs": "1586666466",
"enabled": true
}
}
Just to add info about what I did
{
"set": [
{
"gid": "1",
"label": "resblock"
},
{
"gid": "2",
"label": "resblock"
},
{
"gid": "3",
"label": "resblock"
},
{
"gid": "4",
"label": "resblock"
},
{
"gid": "5",
"label": "resblock"
}
]
}
I’ve tested this query manually in all alphas.
{
q(func: has(label), first:10){
gid
label
}
}
dgraph zero --replicas 3 --my=localhost:5080 --idx 1
dgraph zero -o=1 --replicas=3 -w=./1 --peer=localhost:5080 --idx=2 --my=localhost:5081
dgraph zero -o=2 --replicas=3 -w=./2 --peer=localhost:5080 --idx=3 --my=localhost:5082
dgraph alpha --my=localhost:7081 --lru_mb=2048 --zero=localhost:5080 -p=./alpha_1 -w=alphawall_1 -o 1
dgraph alpha --my=localhost:7082 --lru_mb=2048 --zero=localhost:5080 -p=./alpha_2 -w=alphawall_2 -o 2
dgraph alpha --my=localhost:7083 --lru_mb=2048 --zero=localhost:5080 -p=./alpha_3 -w=alphawall_3 -o 3
dgraph alpha --my=localhost:7084 --lru_mb=2048 --zero=localhost:5080 -p=./alpha_4 -w=alphawall_4 -o 4
dgraph alpha --my=localhost:7085 --lru_mb=2048 --zero=localhost:5080 -p=./alpha_5 -w=alphawall_5 -o 5
dgraph alpha --my=localhost:7086 --lru_mb=2048 --zero=localhost:5080 -p=./alpha_6 -w=alphawall_6 -o 6
dgraph alpha --my=localhost:7087 --lru_mb=2048 --zero=localhost:5080 -p=./alpha_7 -w=alphawall_7 -o 7
dgraph alpha --my=localhost:7088 --lru_mb=2048 --zero=localhost:5080 -p=./alpha_8 -w=alphawall_8 -o 8
dgraph alpha --my=localhost:7089 --lru_mb=2048 --zero=localhost:5080 -p=./alpha_9 -w=alphawall_9 -o 9