diff --git a/master/api_service.go b/master/api_service.go index 06eedcb5a8..12017e5e82 100644 --- a/master/api_service.go +++ b/master/api_service.go @@ -294,7 +294,7 @@ func parsePreloadDpReq(r *http.Request, preload *DataPartitionPreLoad) (err erro return } - if preload.preloadReplicaNum < 1 || preload.preloadReplicaNum > 15 { + if preload.preloadReplicaNum < 1 || preload.preloadReplicaNum > 16 { return fmt.Errorf("preload replicaNum must be between [%d] to [%d], now[%d]", 1, 16, preload.preloadReplicaNum) }