Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for Kappen (0.16 sec)

  1. cmd/erasure-multipart.go

    		MetadataOnly: true,
    	}
    	for _, part := range parts {
    		req.Files = append(req.Files, fmt.Sprintf("part.%d.meta", part.PartNumber))
    	}
    	partInfoFiles, err := readMultipleFiles(ctx, onlineDisks, req, writeQuorum)
    	if err != nil {
    		return oi, err
    	}
    	if len(partInfoFiles) != len(parts) {
    		// Should only happen through internal error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  2. cmd/erasure.go

    			healing++
    			if inclHealing {
    				healingDisks = append(healingDisks, disks[i])
    				healingInfos = append(healingInfos, infos[i])
    			}
    			continue
    		}
    
    		if !info.Scanning {
    			newDisks = append(newDisks, disks[i])
    			newInfos = append(newInfos, infos[i])
    		} else {
    			scanningDisks = append(scanningDisks, disks[i])
    			scanningInfos = append(scanningInfos, infos[i])
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  3. internal/bucket/lifecycle/lifecycle.go

    						// This is a MinIO only extension.
    						event.Action = DeleteAllVersionsAction
    					}
    					events = append(events, event)
    				}
    			}
    
    			if obj.TransitionStatus != TransitionComplete {
    				if due, ok := rule.Transition.NextDue(obj); ok && (now.IsZero() || now.After(due)) {
    					events = append(events, Event{
    						Action:       TransitionAction,
    						RuleID:       rule.ID,
    						Due:          due,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. cmd/metrics-v3-types.go

    		labels := make([]string, 0, len(metric.VariableLabels)*2)
    		for k, v := range metric.VariableLabels {
    			if newLabel, ok := renameLabels[k]; ok {
    				labels = append(labels, newLabel, v)
    			} else {
    				labels = append(labels, k, v)
    			}
    		}
    		labels = append(labels, extraLabels...)
    		// If valid non zero value set the metrics
    		if metric.Value > 0 {
    			m.Set(name, metric.Value, labels...)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  5. cmd/global-heal.go

    			PoolIndex: disks[0].PoolIndex,
    		}
    		for _, disk := range disks {
    			ss.Disks = append(ss.Disks, disk)
    			if disk.Healing {
    				ss.HealStatus = "Healing"
    				ss.HealPriority = "high"
    				status.HealDisks = append(status.HealDisks, disk.Endpoint)
    			}
    		}
    		sortDisks(ss.Disks)
    		status.Sets = append(status.Sets, ss)
    	}
    	sort.Slice(status.Sets, func(i, j int) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  6. cmd/batch-handlers.go

    		if err != nil {
    			return err
    		}
    		if pInfo.Size != objInfo.Size {
    			return fmt.Errorf("Part size mismatch: got %d, want %d", pInfo.Size, objInfo.Size)
    		}
    		uploadedParts = append(uploadedParts, CompletePart{
    			PartNumber: pInfo.PartNumber,
    			ETag:       pInfo.ETag,
    		})
    	}
    	_, err = api.CompleteMultipartUpload(ctx, tgtBucket, tgtObject, res.UploadID, uploadedParts, opts)
    	return err
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  7. cmd/sts-handlers.go

    	peerCertificates := make([]*x509.Certificate, 0, len(r.TLS.PeerCertificates))
    	for _, cert := range r.TLS.PeerCertificates {
    		if cert.IsCA {
    			continue
    		}
    		peerCertificates = append(peerCertificates, cert)
    	}
    	r.TLS.PeerCertificates = peerCertificates
    
    	// Now, we have to check that the client has provided exactly one leaf
    	// certificate that we can map to a policy.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  8. cmd/main.go

    	// registerCommand registers a cli command.
    	registerCommand := func(command cli.Command) {
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    	findClosestCommands := func(command string) []string {
    		var closestCommands []string
    		closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...)
    
    		sort.Strings(closestCommands)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/utils.go

    // ToS3ETag - return checksum to ETag
    func ToS3ETag(etag string) string {
    	etag = canonicalizeETag(etag)
    
    	if !strings.HasSuffix(etag, "-1") {
    		// Tools like s3cmd uses ETag as checksum of data to validate.
    		// Append "-1" to indicate ETag is not a checksum.
    		etag += "-1"
    	}
    
    	return etag
    }
    
    // GetDefaultConnSettings returns default HTTP connection settings.
    func GetDefaultConnSettings() xhttp.ConnSettings {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  10. cmd/erasure-metadata_test.go

    		partNumString := strconv.Itoa(testCase.partNum)
    		fi.AddObjectPart(testCase.partNum, "etag."+partNumString, int64(testCase.partNum+humanize.MiByte), ActualSize, UTCNow(), nil, nil)
    	}
    
    	// Add failure test case.
    	testCases = append(testCases, struct {
    		partNum       int
    		expectedIndex int
    	}{6, -1})
    
    	// Test them.
    	for _, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top