Skip to content

Commit

Permalink
update kvproto
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed May 15, 2023
1 parent 4d2f943 commit 2940d5f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/mockstore/mocktikv/pd.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ func (c *pdClient) GetLocalTSAsync(ctx context.Context, dcLocation string) pd.TS
return c.GetTSAsync(ctx)
}

func (c *pdClient) GetMinTS(ctx context.Context) (int64, int64, error) {
return 0, 0, nil
}

func (c *pdClient) SetExternalTimestamp(ctx context.Context, newTimestamp uint64) error {
p, l, err := c.GetTS(ctx)
if err != nil {
Expand Down

0 comments on commit 2940d5f

Please sign in to comment.