Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 475 for versionid (0.06 sec)

  1. cmd/tier-sweeper.go

    	os.Versioned = versioned
    	os.Suspended = suspended
    	return os
    }
    
    // GetOpts returns ObjectOptions to fetch the object version that may be
    // overwritten or deleted depending on bucket versioning status.
    func (os *objSweeper) GetOpts() ObjectOptions {
    	opts := ObjectOptions{
    		VersionID:        os.VersionID,
    		Versioned:        os.Versioned,
    		VersionSuspended: os.Suspended,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    		}
    		if r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3 {
    			dmVersionID = ""
    			versionID = ""
    		}
    		return c.RemoveObject(ctx, tgtBucket, pathJoin(tgtPrefix, srcObject), miniogo.RemoveObjectOptions{
    			VersionID: versionID,
    			Internal: miniogo.AdvancedRemoveOptions{
    				ReplicationDeleteMarker: dmVersionID != "",
    				ReplicationMTime:        srcObjInfo.ModTime,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-utils_test.go

    			t.Fatalf("getFileInfoVersions: versions don't match at %d, version id expected %s but got %s", i, fi.VersionID, versions[i].VersionID)
    		}
    		if fi.NumVersions != len(fivs.Versions) {
    			t.Fatalf("getFileInfoVersions: version with %s version id expected to have %d as NumVersions but got %d", fi.VersionID, len(fivs.Versions), fi.NumVersions)
    		}
    	}
    
    	for i, free := range fivs.FreeVersions {
    		if free.VersionID != freeVersionIDs[i] {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. cmd/bucket-replication_test.go

    	{ // 2. existing object replication config enabled, no versioning
    		name:         "existing object replication config enabled, no versioning",
    		info:         ObjectInfo{Size: 100},
    		rcfg:         replicationConfig{Config: &configs[0]},
    		expectedSync: false,
    	},
    	{ // 3. existing object replication config enabled, versioning suspended
    		name:         "existing object replication config enabled, versioning suspended",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 16 09:28:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  5. cmd/object-api-options.go

    		if err != nil {
    			return opts, InvalidVersionID{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: vid,
    			}
    		}
    		if !versioned {
    			return opts, InvalidArgument{
    				Bucket: bucket,
    				Object: object,
    				Err:    fmt.Errorf("VersionID specified %s, but versioning not enabled on bucket=%s", opts.VersionID, bucket),
    			}
    		}
    	}
    	opts, err = putOptsFromHeaders(ctx, hdrs, metadata)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    			fi.SetSkipTierFreeVersion()
    		}
    		if opts.VersionID != "" {
    			fi.VersionID = opts.VersionID
    		} else if opts.Versioned {
    			fi.VersionID = mustGetUUID()
    		}
    		// versioning suspended means we add `null` version as
    		// delete marker. Add delete marker, since we don't have
    		// any version specified explicitly. Or if a particular
    		// version id needs to be replicated.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. cmd/object-handlers-common.go

    	if objInfo.ETag != "" && !delete {
    		w.Header()[xhttp.ETag] = []string{`"` + objInfo.ETag + `"`}
    	}
    
    	// Set the relevant version ID as part of the response header.
    	if objInfo.VersionID != "" && objInfo.VersionID != nullVersionID {
    		w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    		// If version is a deleted marker, set this header as well
    		if objInfo.DeleteMarker && delete { // only returned during delete object
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. cmd/api-datatypes.go

    }
    
    // ObjectV object version key/versionId
    type ObjectV struct {
    	ObjectName string `xml:"Key"`
    	VersionID  string `xml:"VersionId"`
    }
    
    // ObjectToDelete carries key name for the object to delete.
    type ObjectToDelete struct {
    	ObjectV
    	// Replication status of DeleteMarker
    	DeleteMarkerReplicationStatus string `xml:"DeleteMarkerReplicationStatus"`
    	// Status of versioned delete (of object or DeleteMarker)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. docs/bucket/replication/delete-replication.sh

    ./mc cp README.md myminio1/foobucket/dir/file
    
    versionId="$(./mc ls --json --versions myminio1/foobucket/dir/ | jq -r .versionId)"
    
    kill ${pid2} && wait ${pid2} || true
    
    aws s3api --endpoint-url http://localhost:9001 delete-object --bucket foobucket --key dir/file --version-id "$versionId"
    
    out="$(./mc ls myminio1/foobucket/dir/)"
    if [ "$out" != "" ]; then
    	echo "BUG: non versioned listing should not show pending/failed replicated delete:"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2_test.go

    		if len(xl.versions) != 855 {
    			t.Errorf("want %d versions, got %d", 855, len(xl.versions))
    		}
    		xl.sortByModTime()
    		if !sort.SliceIsSorted(xl.versions, func(i, j int) bool {
    			return xl.versions[i].header.ModTime > xl.versions[j].header.ModTime
    		}) {
    			t.Errorf("Contents not sorted")
    		}
    		for i := range xl.versions {
    			hdr := xl.versions[i].header
    			ver, err := xl.getIdx(i)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top