Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Hare (0.22 sec)

  1. cmd/erasure.go

    					wait()
    					return nil
    				})
    			})
    		}(disk)
    	}
    	wg.Wait()
    }
    
    // nsScanner will start scanning buckets and send updated totals as they are traversed.
    // Updates are sent on a regular basis and the caller *must* consume them.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  2. cmd/erasure-multipart.go

    	end := start + maxParts
    
    	// Parts are 1 based, so index 0 is part one, etc.
    	for i := start; i <= end; i++ {
    		req.Files = append(req.Files, fmt.Sprintf("part.%d.meta", i))
    	}
    
    	var disk StorageAPI
    	disks := er.getOnlineLocalDisks()
    	if len(disks) == 0 {
    		// using er.getOnlineLocalDisks() has one side-affect where
    		// on a pooled setup all disks are remote, add a fallback
    		disks = er.getOnlineDisks()
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    			// We finished at the end of the block.
    			// And should not expect any more results.
    			bi, err := getMetacacheBlockInfo(fi, partN)
    			internalLogIf(ctx, err)
    			if err != nil || bi.EOS {
    				// We are done and there are no more parts.
    				return entries, io.EOF
    			}
    			if bi.endedPrefix(o.Prefix) {
    				// Nothing more for prefix.
    				return entries, io.EOF
    			}
    			partN++
    			retries = 0
    		}
    	}
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  4. cmd/global-heal.go

    			healingLogIf(ctx, errors.New("all drives are in healing state, aborting.."))
    			return nil
    		}
    
    		disks = disks[:len(disks)-healing] // healing drives are always at the end of the list
    
    		if len(disks) < er.setDriveCount/2 {
    			return fmt.Errorf("not enough drives (found=%d, healing=%d, total=%d) are available to heal `%s`", len(disks), healing, er.setDriveCount, tracker.disk.String())
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  5. internal/config/identity/ldap/ldap.go

    // server may not be equal to the input DN, as LDAP equality is not a simple
    // Golang string equality. However, we assume the value returned by the LDAP
    // server is canonical. Additionally, the attribute type names in the DN are
    // lower-cased.
    //
    // Return values:
    //
    // If the DN is found, the normalized (string) value is returned and error is
    // nil.
    //
    // If the DN is not found, the string returned is empty and the error is nil.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    			// different IP addresses perhaps from a different deployment.
    			// bucket names are globally unique in federation at a given
    			// path prefix, name collision is not allowed. We simply log
    			// an error and continue.
    			bucketsInConflict.Add(bucket.Name)
    		}
    	}
    
    	// Add/update buckets that are not registered with the DNS
    	bucketsToBeUpdatedSlice := bucketsToBeUpdated.ToSlice()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  7. cmd/utils.go

    }
    
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html
    const (
    	// Maximum object size per PUT request is 5TB.
    	// This is a divergence from S3 limit on purpose to support
    	// use cases where users are going to upload large files
    	// using 'curl' and presigned URL.
    	globalMaxObjectSize = 5 * humanize.TiByte
    
    	// Minimum Part size for multipart upload is 5MiB
    	globalMinPartSize = 5 * humanize.MiByte
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  8. tests/preload_test.go

    		Find(&result).Error
    
    	if err != nil {
    		t.Fatalf("failed to preload and find users: %v", err)
    	}
    
    	AssertEqual(t, result, users)
    	AssertEqual(t, len(query), 2) // Check preload queries are merged
    
    	if !regexp.MustCompile(`SELECT \* FROM .*tools.* WHERE .*IN.*`).MatchString(query[0]) {
    		t.Fatalf("Expected first query to preload manager tools, got: %s", query[0])
    	}
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. cmd/erasure-healing.go

    		// we should figure out if dataDirs are also missing > dataBlocks.
    		dataBlocks := (len(dataErrs) + 1) / 2
    		if notFoundPartsErrs > dataBlocks {
    			// Not using parity to ensure that we do not delete
    			// any valid content, if any is recoverable. But if
    			// notFoundDataDirs are already greater than the data
    			// blocks all bets are off and it is safe to purge.
    			//
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    			writeErrorResponseJSON(ctx, w, apiErr, r.URL)
    			return
    		}
    	}
    
    	// Check if we are creating svc account for request sender.
    	isSvcAccForRequestor := false
    	if targetUser == requestorUser || targetUser == requestorParentUser {
    		isSvcAccForRequestor = true
    	}
    
    	// If we are creating svc account for request sender, ensure
    	// that targetUser is a real user (i.e. not derived
    	// credentials).
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
Back to top