Skip to content

Commit

Permalink
Update rowlog for the API change made for the vstream skew alignment …
Browse files Browse the repository at this point in the history
…feature

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
  • Loading branch information
rohit-nayak-ps committed Apr 22, 2021
1 parent 889406d commit a2a5d54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/rowlog/rowlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a2a5d54

Please sign in to comment.