Skip to content

Commit

Permalink
add missing pd_addr for ImportRequest (pingcap#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
holys authored and huachaohuang committed Mar 29, 2018
1 parent 5def97a commit 4e49b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingest/kv/kv-deliver.go
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ func (c *KVDeliverClient) callClose() error {
func (c *KVDeliverClient) callImport() error {
// TODO ... no matter what, to enusure available to import, call close first !
log.Infof("call import ...")
req := &importpb.ImportRequest{Uuid: c.txn.uuid.Bytes()}
req := &importpb.ImportRequest{Uuid: c.txn.uuid.Bytes(), PdAddr: c.pdAddr}
_, err := c.cli.Import(c.ctx, req)
log.Infof("finish call import !")

Expand Down

0 comments on commit 4e49b82

Please sign in to comment.