Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 229 for versionNo (0.17 sec)

  1. cmd/data-scanner.go

    		// skip versions with object locking enabled
    		if rcfg.LockEnabled && enforceRetentionForDeletion(ctx, obj) {
    			if i.debug {
    				if obj.VersionID != "" {
    					console.Debugf(applyVersionActionsLogPrefix+" lifecycle: %s v(%s) is locked, not deleting\n", obj.Name, obj.VersionID)
    				} else {
    					console.Debugf(applyVersionActionsLogPrefix+" lifecycle: %s is locked, not deleting\n", obj.Name)
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    	cpSrcDstSame := srcSet == dstSet
    	// Check if this request is only metadata update.
    	if cpSrcDstSame && srcInfo.metadataOnly {
    		// Version ID is set for the destination and source == destination version ID.
    		// perform an in-place update.
    		if dstOpts.VersionID != "" && srcOpts.VersionID == dstOpts.VersionID {
    			srcInfo.Reader.Close() // We are not interested in the reader stream at this point close it.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  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,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle_test.go

    				DeleteMarker:     tc.isDelMarker,
    				IsLatest:         !tc.isNoncurrent,
    				SuccessorModTime: tc.objectSuccessorModTime,
    				VersionID:        tc.versionID,
    			}
    			opts.NumVersions = 1
    			if tc.hasManyVersions {
    				opts.NumVersions = 2 // at least one noncurrent version
    			}
    			if res := lc.Eval(opts); res.Action != tc.expectedAction {
    				t.Fatalf("Expected action: `%v`, got: `%v`", tc.expectedAction, res.Action)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 14, copy part 1 from newObject1 with null versionId
    		{
    			bucketName:         bucketName,
    			uploadID:           uploadID,
    			copySourceHeader:   url.QueryEscape(SlashSeparator+bucketName+SlashSeparator+objectName) + "?versionId=null",
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    		if versionID == "" {
    			versionID = mustGetUUID()
    			fi.IsLatest = true // we are creating a new version so this is latest.
    		}
    	}
    
    	modTime = UTCNow() // We only preserve modTime if dstOpts.MTime is true.
    	// in all other cases mtime is latest.
    
    	fi.VersionID = versionID // set any new versionID we might have created
    	fi.ModTime = modTime     // set modTime for the new versionID
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. cmd/object-api-interface.go

    type ObjectOptions struct {
    	ServerSideEncryption encrypt.ServerSide
    	VersionSuspended     bool      // indicates if the bucket was previously versioned but is currently suspended.
    	Versioned            bool      // indicates if the bucket is versioned
    	VersionID            string    // Specifies the versionID which needs to be overwritten or read
    	MTime                time.Time // Is only set in POST/PUT operations
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    					continue
    				}
    
    				var failure, ignore bool
    				// gr.Close() is ensured by decommissionObject().
    				for try := 0; try < 3; try++ {
    					if version.IsRemote() {
    						if err := z.DecomTieredObject(ctx, bi.Name, version.Name, version, ObjectOptions{
    							VersionID:   versionID,
    							MTime:       version.ModTime,
    							UserDefined: version.Metadata,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  9. cmd/batch-handlers.go

    		tgtObject = pathJoin(r.Target.Prefix, srcObjInfo.Name)
    	}
    
    	versionID := srcObjInfo.VersionID
    	if r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3 {
    		versionID = ""
    	}
    	if srcObjInfo.DeleteMarker {
    		_, err := api.DeleteObject(ctx, tgtBucket, tgtObject, ObjectOptions{
    			VersionID: versionID,
    			// Since we are preserving a delete marker, we have to make sure this is always true.
    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)
  10. cmd/data-scanner_test.go

    			Volume:      bucket,
    			Name:        obj,
    			VersionID:   uuids[i].String(),
    			IsLatest:    i == 0,
    			ModTime:     modTime.Add(-1 * time.Duration(i) * time.Minute),
    			Size:        1 << 10,
    			NumVersions: 5,
    		}
    	}
    	versioned := vcfg.Status == "Enabled"
    	wants := make([]ObjectInfo, 2)
    	for i, fi := range fivs[:2] {
    		wants[i] = fi.ToObjectInfo(bucket, obj, versioned)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top