Skip to content

Commit

Permalink
Merge pull request #7809 from planetscale/rn-rowlog-fix
Browse files Browse the repository at this point in the history
Rowlog: Update rowlog for the API change made for the vstream skew alignment feature
  • Loading branch information
deepthi authored Apr 13, 2021
2 parents b999be8 + bf47abd commit 28a5321
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 28a5321

Please sign in to comment.