Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
tiancaiamao authored and XuHuaiyu committed Oct 29, 2018
1 parent 1b7b3f1 commit d7b4c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store/tikv/2pc.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,12 +531,12 @@ func (c *twoPhaseCommitter) cleanupSingleBatch(bo *Backoffer, batch batchKeys) e
}

func (c *twoPhaseCommitter) prewriteKeys(bo *Backoffer, keys [][]byte) error {
log.Info("conn:%d 2pc prewrite, start ts = %d", c.connID, c.startTS)
log.Infof("conn:%d 2pc prewrite, start ts = %d", c.connID, c.startTS)
return c.doActionOnKeys(bo, actionPrewrite, keys)
}

func (c *twoPhaseCommitter) commitKeys(bo *Backoffer, keys [][]byte) error {
log.Info("conn:%d 2pc commit, commit ts = %d", c.connID, c.commitTS)
log.Infof("conn:%d 2pc commit, commit ts = %d", c.connID, c.commitTS)
return c.doActionOnKeys(bo, actionCommit, keys)
}

Expand Down

0 comments on commit d7b4c09

Please sign in to comment.