Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ForceDelMarker (0.09 sec)

  1. cmd/storage-rest-client.go

    	ctx, cancel := context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout())
    	defer cancel()
    
    	_, err = storageDeleteVersionRPC.Call(ctx, client.gridConn, &DeleteVersionHandlerParams{
    		DiskID:         *client.diskID.Load(),
    		Volume:         volume,
    		FilePath:       path,
    		ForceDelMarker: forceDelMarker,
    		FI:             fi,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    	return w.Run(func() error { return p.storage.WriteAll(ctx, volume, path, b) })
    }
    
    func (p *xlStorageDiskIDCheck) DeleteVersion(ctx context.Context, volume, path string, fi FileInfo, forceDelMarker bool, opts DeleteOptions) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricDeleteVersion, volume, path)
    	if err != nil {
    		return err
    	}
    	defer func() {
    		defer done(0, &err)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. cmd/storage-datatypes.go

    type DeleteVersionHandlerParams struct {
    	DiskID         string        `msg:"id"`
    	Volume         string        `msg:"v"`
    	FilePath       string        `msg:"fp"`
    	ForceDelMarker bool          `msg:"fdm"`
    	Opts           DeleteOptions `msg:"do"`
    	FI             FileInfo      `msg:"fi"`
    }
    
    // MetadataHandlerParams is request info for UpdateMetadataHandle and WriteMetadataHandler.
    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. cmd/storage-datatypes_gen.go

    		case "fp":
    			z.FilePath, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "FilePath")
    				return
    			}
    		case "fdm":
    			z.ForceDelMarker, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "ForceDelMarker")
    				return
    			}
    		case "do":
    			err = z.Opts.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Opts")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	})
    }
    
    // DeleteVersion - deletes FileInfo metadata for path at `xl.meta`. forceDelMarker
    // will force creating a new `xl.meta` to create a new delete marker
    func (s *xlStorage) DeleteVersion(ctx context.Context, volume, path string, fi FileInfo, forceDelMarker bool, opts DeleteOptions) (err error) {
    	if HasSuffix(path, SlashSeparator) {
    		return s.Delete(ctx, volume, path, DeleteOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    	fi.IsLatest = true
    
    	return fi.ToObjectInfo(bucket, object, opts.Versioned || opts.VersionSuspended), nil
    }
    
    func (er erasureObjects) deleteObjectVersion(ctx context.Context, bucket, object string, fi FileInfo, forceDelMarker bool) error {
    	disks := er.getDisks()
    	// Assume (N/2 + 1) quorum for Delete()
    	// this is a theoretical assumption such that
    	// for delete's we do not need to honor storage
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top