Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 541 for versionid (0.12 sec)

  1. cmd/naughty-disk_test.go

    }
    
    func (d *naughtyDisk) DeleteVersions(ctx context.Context, volume string, versions []FileInfoVersions, opts DeleteOptions) []error {
    	if err := d.calcError(); err != nil {
    		errs := make([]error, len(versions))
    		for i := range errs {
    			errs[i] = err
    		}
    		return errs
    	}
    	return d.disk.DeleteVersions(ctx, volume, versions, opts)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. 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)
  3. cmd/storage-datatypes.go

    		return -1
    	}
    	if v == nullVersionID {
    		for i, ver := range f.Versions {
    			if ver.VersionID == "" {
    				return i
    			}
    		}
    		return -1
    	}
    
    	for i, ver := range f.Versions {
    		if ver.VersionID == v {
    			return i
    		}
    	}
    	return -1
    }
    
    // RawFileInfo - represents raw file stat information as byte array.
    // The above means that any added/deleted fields are incompatible.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. 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)
  5. cmd/batch-expire.go

    				// couldn't be deleted.
    				od := ObjectToDelete{
    					ObjectV: ObjectV{
    						ObjectName: exp.Name,
    						VersionID:  exp.VersionID,
    					},
    				}
    				toDel = append(toDel, od)
    				oiCache.Add(od, &exp.ObjectInfo)
    			}
    
    			var done bool
    			// DeleteObject(deletePrefix: true) to expire all versions of an object
    			for _, exp := range toExpireAll {
    				var success bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common.go

    	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
    		// that have enough quorum to satisfy
    		// the etag.
    		if count >= quorum {
    			return etags
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. docs/bucket/replication/DESIGN.md

    active-active replication caused by allowing delete markers set on a object version with `REPLICA` status back to source.
    
    In the case of versioned deletes a.k.a permanent delete of a version by doing a `mc rm --version-id` on a object, replication implementation marks a object version permanently deleted as `PENDING` purge and deletes the version from source after syncing to the target and ensuring target version is deleted. The delete marker being deleted or object version being deleted...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
Back to top