Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for vid (0.01 sec)

  1. cmd/object-api-options.go

    }
    
    func putOpts(ctx context.Context, bucket, object, vid string, hdrs http.Header, metadata map[string]string) (opts ObjectOptions, err error) {
    	versioned := globalBucketVersioningSys.PrefixEnabled(bucket, object)
    	versionSuspended := globalBucketVersioningSys.PrefixSuspended(bucket, object)
    
    	vid = strings.TrimSpace(vid)
    	if vid != "" && vid != nullVersionID {
    		_, err := uuid.Parse(vid)
    		if err != nil {
    			return opts, InvalidVersionID{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. internal/bucket/replication/replication_test.go

    		{ObjectOpts{Name: "c1test", VersionID: "vid"}, cfgs[0], true}, // 3. valid ObjectOpts passing empty Filter
    
    		{ObjectOpts{Name: "c1test", DeleteMarker: true, OpType: DeleteReplicationType}, cfgs[0], true},                               // 4. DeleteMarker version replication valid case - matches DeleteMarkerReplication status
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common.go

    	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
    		// that have enough quorum to satisfy
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. cmd/bucket-handlers_test.go

    	deletedObjects := make([]DeletedObject, len(requestList[0].Objects))
    	for i := range requestList[0].Objects {
    		var vid string
    		if isDirObject(requestList[0].Objects[i].ObjectName) {
    			vid = ""
    		}
    		deletedObjects[i] = DeletedObject{
    			ObjectName: requestList[0].Objects[i].ObjectName,
    			VersionID:  vid,
    		}
    	}
    
    	successResponse0 := generateMultiDeleteResponse(requestList[0].Quiet, deletedObjects, nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  5. docs/site-replication/run-multi-site-ldap.sh

    if [ $? -eq 0 ]; then
    	echo "expected object to be deleted permanently after replication, exiting.."
    	exit_1
    fi
    
    vID=$(./mc stat --no-list minio2/newbucket/README.md --json | jq .versionID)
    if [ $? -ne 0 ]; then
    	echo "expecting object to be present. exiting.."
    	exit_1
    fi
    ./mc tag set --version-id "${vID}" minio2/newbucket/README.md "key=val"
    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. docs/site-replication/run-multi-site-minio-idp.sh

    if [ $? -eq 0 ]; then
    	echo "expected object to be deleted permanently after replication, exiting.."
    	exit_1
    fi
    
    vID=$(./mc stat --no-list minio2/newbucket/README.md --json | jq .versionID)
    if [ $? -ne 0 ]; then
    	echo "expecting object to be present. exiting.."
    	exit_1
    fi
    ./mc tag set --version-id "${vID}" minio2/newbucket/README.md "key=val"
    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. cmd/object-multipart-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopySource), r.URL)
    		return
    	}
    
    	if vid != "" && vid != nullVersionID {
    		_, err := uuid.Parse(vid)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, VersionNotFound{
    				Bucket:    srcBucket,
    				Object:    srcObject,
    				VersionID: vid,
    			}), r.URL)
    			return
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    	versionSuspended := globalBucketVersioningSys.PrefixSuspended(bucket, object)
    	vid := strings.TrimSpace(r.Form.Get(xhttp.VersionID))
    	if vid != "" && vid != nullVersionID {
    		_, err := uuid.Parse(vid)
    		if err != nil {
    			s3LogIf(ctx, err)
    			return opts, InvalidVersionID{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: vid,
    			}
    		}
    		if !versioned && !versionSuspended {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_test.go

    		uses   bool
    	}{
    		{ // transitioned object version
    			xlmeta: xlMetaV2Object{
    				VersionID: vID,
    				DataDir:   dataDir,
    				MetaSys:   transitioned,
    			},
    			uses: false,
    		},
    		{ // to be restored (requires object version to be transitioned)
    			xlmeta: xlMetaV2Object{
    				VersionID: vID,
    				DataDir:   dataDir,
    				MetaSys:   transitioned,
    				MetaUser:  toBeRestored,
    			},
    			uses: false,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. cmd/object-api-interface.go

    	return o.DeleteReplication.CompositeVersionPurgeStatus()
    }
    
    // SetDeleteReplicationState sets the delete replication options.
    func (o *ObjectOptions) SetDeleteReplicationState(dsc ReplicateDecision, vID string) {
    	o.DeleteReplication = ReplicationState{
    		ReplicateDecisionStr: dsc.String(),
    	}
    	switch {
    	case o.VersionID == "":
    		o.DeleteReplication.ReplicationStatusInternal = dsc.PendingStatus()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top