1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
# set initial k-v pairs
# wait and get last k-v pair from replica
get 9
VALUE 9 0 5
good9
END
# make multiple cnanges with master
# wait and get k-v's from replicas
get 1 2 3 4 5 7 8 9 10
VALUE 1 0 8
good1afk
VALUE 2 0 8
kfagood2
VALUE 3 0 2
95
VALUE 4 0 2
45
VALUE 5 0 5
good5
VALUE 7 0 21
The expense of spirit
VALUE 8 0 19
in a waste of shame
VALUE 9 0 18
Is lust in action;
VALUE 10 0 21
and till action, lust
END
# get deleted value
get 6
END
# flush all k-v on master and try to get them from replica
get 10
END
# check that expiration is working properly on replica
get 1
VALUE 1 0 21
The expense of spirit
END
get 1
END
# check that expiration is working properly, when replica becomes master
reload configuration
---
ok
...
get 1
VALUE 1 0 21
The expense of spirit
END
get 1
END
|