Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 143 for VersionId (0.21 sec)

  1. cmd/admin-heal-ops.go

    		return objAPI.HealObjects(h.ctx, minioMetaBucket, metaPrefix, h.settings, func(bucket, object, versionID string, scanMode madmin.HealScanMode) error {
    			if h.isQuitting() {
    				return errHealStopSignalled
    			}
    
    			err := h.queueHealTask(healSource{
    				bucket:    bucket,
    				object:    object,
    				versionID: versionID,
    			}, madmin.HealItemBucketMetadata)
    			return err
    		})
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. cmd/naughty-disk_test.go

    }
    
    func (d *naughtyDisk) ReadVersion(ctx context.Context, origvolume, volume, path, versionID string, opts ReadOptions) (fi FileInfo, err error) {
    	if err := d.calcError(); err != nil {
    		return FileInfo{}, err
    	}
    	return d.disk.ReadVersion(ctx, origvolume, volume, path, versionID, opts)
    }
    
    func (d *naughtyDisk) WriteAll(ctx context.Context, volume string, path string, b []byte) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. internal/logger/logger.go

    	}
    
    	objects := make([]log.ObjectVersion, 0, len(req.Objects))
    	for _, ov := range req.Objects {
    		objects = append(objects, log.ObjectVersion{
    			ObjectName: ov.ObjectName,
    			VersionID:  ov.VersionID,
    		})
    	}
    
    	entry := log.Entry{
    		DeploymentID: deploymentID,
    		Level:        logKind,
    		RemoteHost:   req.RemoteHost,
    		Host:         req.Host,
    		RequestID:    req.RequestID,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. cmd/erasure-object_test.go

    			mustGetPutObjReader(t, bytes.NewReader([]byte("abcd")), int64(len("abcd")), "", ""), ObjectOptions{
    				Versioned: true,
    			})
    		if err != nil {
    			t.Fatalf("Erasure Object upload failed: <ERROR> %s", err)
    		}
    		names[i] = ObjectToDelete{
    			ObjectV: ObjectV{
    				ObjectName: objInfo.Name,
    				VersionID:  objInfo.VersionID,
    			},
    		}
    
    	}
    	names = append(names, ObjectToDelete{
    		ObjectV: ObjectV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    // passes versionID additionally.
    func checkRequestAuthTypeWithVID(ctx context.Context, r *http.Request, action policy.Action, bucketName, objectName, versionID string) (s3Err APIErrorCode) {
    	logger.GetReqInfo(ctx).BucketName = bucketName
    	logger.GetReqInfo(ctx).ObjectName = objectName
    	logger.GetReqInfo(ctx).VersionID = versionID
    
    	_, _, s3Err = checkRequestAuthTypeCredential(ctx, r, action)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v1_gen.go

    				err = z.Parts[za0003].DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Parts", za0003)
    					return
    				}
    			}
    		case "VersionID":
    			z.VersionID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "VersionID")
    				return
    			}
    		case "DataDir":
    			z.DataDir, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "DataDir")
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. buildscripts/heal-inconsistent-versions.sh

    		"${PWD}/mc" cp /etc/hosts minio/bucket/testobj
    
    		sudo chown -R ${USER}. "${WORK_DIR}/disk${i}"
    	done
    
    	for vid in $("${PWD}/mc" ls --json --versions minio/bucket/testobj | jq -r .versionId); do
    		"${PWD}/mc" cat --vid "${vid}" minio/bucket/testobj | md5sum
    	done
    
    	pkill minio
    	sleep 3
    }
    
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	start_minio_4drive ${start_port}
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. cmd/erasure-healing-common.go

    	etags = make([]string, len(partsMetadata))
    	vidMap := map[string]int{}
    	for index, metadata := range partsMetadata {
    		if errs[index] != nil {
    			continue
    		}
    		vid := metadata.VersionID
    		if metadata.VersionID == "" {
    			vid = nullVersionID
    		}
    		vidMap[vid]++
    		etags[index] = metadata.Metadata["etag"]
    	}
    
    	for _, count := range vidMap {
    		// do we have enough common versions
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    }
    
    func (oiCache objInfoCache) Add(toDel ObjectToDelete, oi *ObjectInfo) {
    	oiCache[fmt.Sprintf("%s-%s", toDel.ObjectName, toDel.VersionID)] = oi
    }
    
    func (oiCache objInfoCache) Get(toDel ObjectToDelete) (*ObjectInfo, bool) {
    	oi, ok := oiCache[fmt.Sprintf("%s-%s", toDel.ObjectName, toDel.VersionID)]
    	return oi, ok
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. cmd/mrf.go

    )
    
    // PartialOperation is a successful upload/delete of an object
    // but not written in all disks (having quorum)
    type PartialOperation struct {
    	Bucket              string
    	Object              string
    	VersionID           string
    	Versions            []byte
    	SetIndex, PoolIndex int
    	Queued              time.Time
    	BitrotScan          bool
    }
    
    // mrfState sncapsulates all the information
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top