Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for purge (0.13 sec)

  1. cmd/bucket-replication-utils.go

    	// Failed - versioned delete replication failed.
    	Failed VersionPurgeStatusType = "FAILED"
    )
    
    // Empty returns true if purge status was not set.
    func (v VersionPurgeStatusType) Empty() bool {
    	return string(v) == ""
    }
    
    // Pending returns true if the version is pending purge.
    func (v VersionPurgeStatusType) Pending() bool {
    	return v == Pending || v == Failed
    }
    
    type replicationResyncer struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
  2. cmd/format-erasure.go

    		return errDiskNotFound
    	}
    
    	// Marshal and write to disk.
    	formatData, err := json.Marshal(format)
    	if err != nil {
    		return err
    	}
    
    	tmpFormat := mustGetUUID()
    
    	// Purge any existing temporary file, okay to ignore errors here.
    	defer disk.Delete(context.TODO(), minioMetaBucket, tmpFormat, DeleteOptions{
    		Recursive: false,
    		Immediate: false,
    	})
    
    	// write to unique file.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. cmd/iam.go

    					// Log if we took a lot of time to load.
    					logger.Info("IAM refresh took %.2fs", took)
    				}
    			}
    
    			// Purge expired STS credentials.
    			purgeStart := time.Now()
    			if err := sys.store.PurgeExpiredSTS(ctx); err != nil {
    				iamLogIf(ctx, fmt.Errorf("Failure in periodic STS purge for IAM (took %.2fs): %v", time.Since(purgeStart).Seconds(), err))
    			} else {
    				took := time.Since(purgeStart).Seconds()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. cmd/iam-object-store.go

    			continue
    		}
    
    		res[listKey] = append(res[listKey], trimmedItem)
    	}
    	// Store the listing for later re-use.
    	iamOS.cachedIAMListing.Store(res)
    	return res, nil
    }
    
    // PurgeExpiredSTS - purge expired STS credentials from object store.
    func (iamOS *IAMObjectStore) PurgeExpiredSTS(ctx context.Context) error {
    	if iamOS.objAPI == nil {
    		return errServerNotInitialized
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    func (o *ObjectOptions) DeleteMarkerReplicationStatus() replication.StatusType {
    	return o.DeleteReplication.CompositeReplicationStatus()
    }
    
    // VersionPurgeStatus - returns version purge status from DeleteReplication state in ObjectOptions
    func (o *ObjectOptions) VersionPurgeStatus() VersionPurgeStatusType {
    	return o.DeleteReplication.CompositeVersionPurgeStatus()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    		if opts.SRDeleteOp == MarkDelete {
    			z.s3Peer.MakeBucket(context.Background(), pathJoin(minioMetaBucket, bucketMetaPrefix, deletedBucketsPrefix, bucket), MakeBucketOptions{})
    		}
    	}
    
    	if err == nil {
    		// Purge the entire bucket metadata entirely.
    		z.deleteAll(context.Background(), minioMetaBucket, pathJoin(bucketMetaPrefix, bucket))
    	}
    
    	return toObjectErr(err, bucket)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    			if dobj.VersionID == "" && rinfo.VersionPurgeStatus.Empty() {
    				rinfo.ReplicationStatus = replication.Completed
    				return
    			}
    		case isErrObjectNotFound(serr), isErrVersionNotFound(serr):
    			// version being purged is already not found on target.
    			if !rinfo.VersionPurgeStatus.Empty() {
    				rinfo.VersionPurgeStatus = Complete
    				return
    			}
    		case isErrReadQuorum(serr), isErrWriteQuorum(serr):
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. cmd/iam-store.go

    	for _, v := range policy.DefaultPolicies {
    		if _, ok := policies[v.Name]; !ok {
    			policies[v.Name] = defaultPolicyDoc(v.Definition)
    		}
    	}
    }
    
    // PurgeExpiredSTS - purges expired STS credentials.
    func (store *IAMStoreSys) PurgeExpiredSTS(ctx context.Context) error {
    	iamOS, ok := store.IAMStorageAPI.(*IAMObjectStore)
    	if !ok {
    		// No purging is done for non-object storage.
    		return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  9. cmd/erasure-healing.go

    			// Not using parity to ensure that we do not delete
    			// any valid content, if any is recoverable. But if
    			// notFoundDataDirs are already greater than the data
    			// blocks all bets are off and it is safe to purge.
    			//
    			// This is purely a defensive code, ideally parityBlocks
    			// is sufficient, however we can't know that since we
    			// do have the FileInfo{}.
    			return validMeta, true
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. internal/kms/config.go

    	EnvKESKeyCacheInterval = "MINIO_KMS_KEY_CACHE_INTERVAL" // Period between polls of the KES KMS Master Key cache, to prevent it from being unused and purged
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 07:42:50 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top