Skip to content

Commit

Permalink
feat(restore): log host shard count
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal-Leszczynski committed Oct 3, 2024
1 parent ad0e6de commit 0447b3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/service/restore/tables_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ func (w *tablesWorker) stageRestoreData(ctx context.Context) error {
if err != nil {
return errors.Wrap(err, "get hosts shard count")
}
for h, sh := range hostToShard {
w.logger.Info(ctx, "Host shard count", "host", h, "shards", sh)
}

bd := newBatchDispatcher(workload, w.target.BatchSize, hostToShard, w.target.locationHosts)

Expand Down

0 comments on commit 0447b3d

Please sign in to comment.