Skip to content

Commit

Permalink
remove duplica
Browse files Browse the repository at this point in the history
Signed-off-by: nolouch <[email protected]>

remove duplica

Signed-off-by: nolouch <[email protected]>
  • Loading branch information
nolouch committed May 31, 2023
1 parent 46ce0b6 commit f3b65b8
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions internal/mockstore/mocktikv/pd.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,18 +127,6 @@ func (c *pdClient) GetMinTS(ctx context.Context) (int64, int64, error) {
return 0, 0, nil
}

func (c *pdClient) UpdateGCSafePointV2(ctx context.Context, keyspaceID uint32, safePoint uint64) (uint64, error) {
panic("unimplemented")
}

func (c *pdClient) UpdateServiceSafePointV2(ctx context.Context, keyspaceID uint32, serviceID string, ttl int64, safePoint uint64) (uint64, error) {
panic("unimplemented")
}

func (c *pdClient) WatchGCSafePointV2(ctx context.Context, revision int64) (chan []*pdpb.SafePointEvent, error) {
panic("unimplemented")
}

func (c *pdClient) GetLocalTS(ctx context.Context, dcLocation string) (int64, int64, error) {
return c.GetTS(ctx)
}
Expand All @@ -151,10 +139,6 @@ 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 f3b65b8

Please sign in to comment.