Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 143 for VersionId (0.11 sec)

  1. cmd/erasure-healing_test.go

    		if _, err = objLayer.DeleteObject(ctx, bucket, object, ObjectOptions{
    			Versioned: true,
    			VersionID: objInfo.VersionID,
    		}); err != nil {
    			t.Fatal(err)
    		}
    	}
    
    	setDisks(nil, nil, nil, nil)
    
    	rd := mustGetPutObjReader(t, bytes.NewReader(data), int64(len(data)), "", "")
    	_, err = objLayer.PutObject(ctx, bucket, object, rd, ObjectOptions{
    		Versioned: true,
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. cmd/bucket-replication-handlers.go

    			return
    		}
    		// fake a versioned delete - to ensure deny policies are not in place
    		err = c.RemoveObject(ctx, clnt.Bucket, obj, minio.RemoveObjectOptions{
    			VersionID: ui.VersionID,
    			Internal: minio.AdvancedRemoveOptions{
    				ReplicationDeleteMarker:  false,
    				ReplicationMTime:         time.Now(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. cmd/warm-backend-azure.go

    		AccessTier:  az.tier(), // set tier if specified
    		Metadata:    azMeta,
    	})
    	if err != nil {
    		return "", azureToObjectError(err, az.Bucket, az.getDest(object))
    	}
    	vid := ""
    	if resp.VersionID != nil {
    		vid = *resp.VersionID
    	}
    	return remoteVersionID(vid), nil
    }
    
    func (az *warmBackendAzure) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle_test.go

    				UserTags:         tc.objectTags,
    				ModTime:          tc.objectModTime,
    				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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. docs/debugging/xl-meta/main.go

    }
    
    func (z xlMetaV2VersionHeaderV2) MarshalJSON() (o []byte, err error) {
    	tmp := struct {
    		VersionID string
    		ModTime   time.Time
    		Signature string
    		Type      uint8
    		Flags     uint8
    		EcM, EcN  uint8 // Note that these will be 0/0 for non-v2 objects and older xl.meta
    	}{
    		VersionID: hex.EncodeToString(z.VersionID[:]),
    		ModTime:   time.Unix(0, z.ModTime),
    		Signature: hex.EncodeToString(z.Signature[:]),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  6. docs/bucket/replication/DESIGN.md

    ### Replication of DeleteMarker and versioned Delete
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  7. cmd/storage-rest-client.go

    func readMsgpReaderPoolPut(r *msgp.Reader) {
    	if r != nil {
    		readMsgpReaderPool.Put(r)
    	}
    }
    
    func (client *storageRESTClient) ReadVersion(ctx context.Context, origvolume, volume, path, versionID string, opts ReadOptions) (fi FileInfo, err error) {
    	ctx, cancel := context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout())
    	defer cancel()
    
    	// Use websocket when not reading data.
    	if !opts.ReadData {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. internal/http/headers.go

    	MinIOCompressed = "X-Minio-Compressed"
    
    	// SUBNET related
    	SubnetAPIKey = "x-subnet-api-key"
    )
    
    // Common http query params S3 API
    const (
    	VersionID = "versionId"
    
    	PartNumber = "partNumber"
    
    	UploadID = "uploadId"
    )
    
    // http headers sent to webhook targets
    const (
    	// Reports the version of MinIO server
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. cmd/warm-backend-minio.go

    		StorageClass:         m.StorageClass,
    		PartSize:             uint64(partSize),
    		DisableContentSha256: true,
    		UserMetadata:         meta,
    	})
    	return remoteVersionID(res.VersionID), m.ToObjectError(err, object)
    }
    
    func (m *warmBackendMinIO) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
    	return m.PutWithMeta(ctx, object, r, length, map[string]string{})
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. cmd/erasure-metadata-utils.go

    }
    
    // Reads all `xl.meta` metadata as a FileInfo slice.
    // Returns error slice indicating the failed metadata reads.
    func readAllFileInfo(ctx context.Context, disks []StorageAPI, origbucket string, bucket, object, versionID string, readData, healing bool) ([]FileInfo, []error) {
    	metadataArray := make([]FileInfo, len(disks))
    
    	opts := ReadOptions{
    		ReadData: readData,
    		Healing:  healing,
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top