Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for deletedObjects (0.21 sec)

  1. cmd/admin-handlers_test.go

    func TestTopLockEntries(t *testing.T) {
    	locksHeld := make(map[string][]lockRequesterInfo)
    	var owners []string
    	for i := 0; i < 4; i++ {
    		owners = append(owners, fmt.Sprintf("node-%d", i))
    	}
    
    	// Simulate DeleteObjects of 10 objects in a single request. i.e same lock
    	// request UID, but 10 different resource names associated with it.
    	var lris []lockRequesterInfo
    	uuid := mustGetUUID()
    	for i := 0; i < 10; i++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. cmd/object-handlers-common.go

    			remaining = toDel[maxDeleteList:]
    			toDel = toDel[:maxDeleteList]
    		} else {
    			remaining = nil
    		}
    		vc, _ := globalBucketVersioningSys.Get(bucket)
    		deletedObjs, errs := o.DeleteObjects(ctx, bucket, toDel, ObjectOptions{
    			PrefixEnabledFn:  vc.PrefixEnabled,
    			VersionSuspended: vc.Suspended(),
    		})
    
    		for i, dobj := range deletedObjs {
    			oi := ObjectInfo{
    				Bucket:    bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils.go

    }
    
    // VersionPurgeStatus returns a composite version purge status across targets
    func (d *DeletedObject) VersionPurgeStatus() VersionPurgeStatusType {
    	return d.ReplicationState.CompositeVersionPurgeStatus()
    }
    
    // DeleteMarkerReplicationStatus return composite replication status of delete marker across targets
    func (d *DeletedObject) DeleteMarkerReplicationStatus() replication.StatusType {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    	allErrs := make([]error, 0, len(objsToDel))
    
    	for {
    		count := len(objsToDel)
    		if count == 0 {
    			break
    		}
    		if count > maxDeleteList {
    			count = maxDeleteList
    		}
    		_, errs := api.DeleteObjects(ctx, r.Bucket, objsToDel[:count], opts)
    		allErrs = append(allErrs, errs...)
    		// Next batch of deletion
    		objsToDel = objsToDel[count:]
    	}
    
    	return allErrs
    }
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. cmd/erasure-object_test.go

    			},
    		}
    
    	}
    	names = append(names, ObjectToDelete{
    		ObjectV: ObjectV{
    			ObjectName: "dir/obj1",
    			VersionID:  mustGetUUID(), // add a non-existent UUID.
    		},
    	})
    
    	_, delErrs := obj.DeleteObjects(ctx, bucketName, names, ObjectOptions{
    		Versioned: true,
    	})
    	for i := range delErrs {
    		if delErrs[i] != nil {
    			t.Errorf("Failed to remove object `%v` with the error: `%v`", names[i], delErrs[i])
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    					if roi.VersionPurgeStatus.Empty() {
    						dmVersionID = roi.VersionID
    					} else {
    						versionID = roi.VersionID
    					}
    
    					doi := DeletedObjectReplicationInfo{
    						DeletedObject: DeletedObject{
    							ObjectName:            roi.Name,
    							DeleteMarkerVersionID: dmVersionID,
    							VersionID:             versionID,
    							ReplicationState:      roi.ReplicationState,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		versionID := ""
    		if objInfo.DeleteMarker {
    			dmVersionID = objInfo.VersionID
    		} else {
    			versionID = objInfo.VersionID
    		}
    		dobj := DeletedObjectReplicationInfo{
    			DeletedObject: DeletedObject{
    				ObjectName:            object,
    				VersionID:             versionID,
    				DeleteMarkerVersionID: dmVersionID,
    				DeleteMarkerMTime:     DeleteMarkerMTime{objInfo.ModTime},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top