зеркало из https://github.com/github/vitess-gh.git
Update rowlog for the API change made for the vstream skew alignment feature
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
This commit is contained in:
Родитель
bbfe9c6f37
Коммит
bf47abd007
|
@ -12,6 +12,7 @@ import (
|
|||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
vtgatepb "vitess.io/vitess/go/vt/proto/vtgate"
|
||||
|
||||
"vitess.io/vitess/go/mysql"
|
||||
"vitess.io/vitess/go/sqltypes"
|
||||
|
@ -155,7 +156,7 @@ func startStreaming(ctx context.Context, vtgate, vtctld, keyspace, tablet, table
|
|||
log.Fatal(err)
|
||||
}
|
||||
defer conn.Close()
|
||||
reader, err := conn.VStream(ctx, topodatapb.TabletType_MASTER, vgtid, filter)
|
||||
reader, err := conn.VStream(ctx, topodatapb.TabletType_MASTER, vgtid, filter, &vtgatepb.VStreamFlags{})
|
||||
var fields []*query.Field
|
||||
var gtid string
|
||||
var plan *TablePlan
|
||||
|
|
Загрузка…
Ссылка в новой задаче