Commit 198833a6 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 155993d9
......@@ -456,16 +456,16 @@ func (t0 *tEnv) NewCluster_MS(name string, Sback storage.Backend) *tCluster {
}))
// M starts recovery on S
t.Expect("m-s", conntx("m:2", "s:2", 0, &proto.Recovery{}))
t.Expect("m-s", conntx("s:2", "m:2", 0, &proto.AnswerRecovery{
t.Expect("m-s", conntx("m:2", "s:2", 2, &proto.Recovery{}))
t.Expect("m-s", conntx("s:2", "m:2", 2, &proto.AnswerRecovery{
// empty new node
PTid: 0,
BackupTid: proto.INVALID_TID,
TruncateTid: proto.INVALID_TID,
}))
t.Expect("m-s", conntx("m:2", "s:2", 2, &proto.AskPartitionTable{}))
t.Expect("m-s", conntx("s:2", "m:2", 2, &proto.AnswerPartitionTable{
t.Expect("m-s", conntx("m:2", "s:2", 4, &proto.AskPartitionTable{}))
t.Expect("m-s", conntx("s:2", "m:2", 4, &proto.AnswerPartitionTable{
PTid: 0,
NumReplicas: 0,
RowList: []proto.RowInfo{},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment