Skip to content

Commit

Permalink
revert domain naming change
Browse files Browse the repository at this point in the history
Signed-off-by: Wenqi Mou <[email protected]>
  • Loading branch information
Tristan1900 committed Dec 31, 2024
1 parent a4e8efc commit 8e34b5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/domain/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,7 @@ func (do *Domain) Start(startMode ddl.StartMode) error {
}, "closestReplicaReadCheckLoop")
}

err = do.initLogBackupAdvancer(do.ctx, pdCli)
err = do.initLogBackup(do.ctx, pdCli)
if err != nil {
return err
}
Expand Down Expand Up @@ -1540,7 +1540,7 @@ func (do *Domain) SetOnClose(onClose func()) {
do.onClose = onClose
}

func (do *Domain) initLogBackupAdvancer(ctx context.Context, pdClient pd.Client) error {
func (do *Domain) initLogBackup(ctx context.Context, pdClient pd.Client) error {
cfg := config.GetGlobalConfig()
if pdClient == nil || do.etcdClient == nil {
log.Warn("pd / etcd client not provided, won't begin Advancer.")
Expand Down

0 comments on commit 8e34b5e

Please sign in to comment.