Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
3pointer committed Dec 19, 2024
1 parent c159e53 commit 7df6ea6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion br/pkg/restore/snap_client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ const (
const minBatchDdlSize = 1

type SnapClient struct {
restorer restore.SstRestorer
restorer restore.SstRestorer
// Use a closure to lazy load checkpoint runner
getRestorerFn func(*checkpoint.CheckpointRunner[checkpoint.RestoreKeyType, checkpoint.RestoreValueType]) restore.SstRestorer
// Tool clients used by SnapClient
pdClient pd.Client
Expand Down

0 comments on commit 7df6ea6

Please sign in to comment.