Skip to content

Commit

Permalink
br: turn on coarse-grained as default for restore (#51830)
Browse files Browse the repository at this point in the history
ref #50701
  • Loading branch information
BornChanger authored Mar 26, 2024
1 parent bd17acd commit 8428e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/task/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (cfg *RestoreCommonConfig) adjust() {
cfg.MergeSmallRegionSizeBytes.Value = conn.DefaultMergeRegionSizeBytes
}
if len(cfg.Granularity) == 0 {
cfg.Granularity = string(restore.FineGrained)
cfg.Granularity = string(restore.CoarseGrained)
}
if !cfg.ConcurrencyPerStore.Modified {
cfg.ConcurrencyPerStore.Value = conn.DefaultImportNumGoroutines
Expand Down

0 comments on commit 8428e38

Please sign in to comment.