mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
add load balance properly restClientFromHash() bucket/prefix (#14621)
spread out resuming further to other nodes
This commit is contained in:
@@ -361,7 +361,7 @@ func (r *metacacheReader) filter(o listPathOptions) (entries metaCacheEntriesSor
|
||||
|
||||
func (er *erasureObjects) streamMetadataParts(ctx context.Context, o listPathOptions) (entries metaCacheEntriesSorted, err error) {
|
||||
retries := 0
|
||||
rpc := globalNotificationSys.restClientFromHash(o.Bucket)
|
||||
rpc := globalNotificationSys.restClientFromHash(pathJoin(o.Bucket, o.Prefix))
|
||||
|
||||
for {
|
||||
if contextCanceled(ctx) {
|
||||
|
||||
Reference in New Issue
Block a user