Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 87 for Walker (0.21 sec)

  1. internal/cachevalue/cache.go

    // An Update function must be set to provide an updated value when needed.
    type Cache[T any] struct {
    	// updateFn must return an updated value.
    	// If an error is returned the cached value is not set.
    	// Only one caller will call this function at any time, others will be blocking.
    	// The returned value can no longer be modified once returned.
    	// Should be set before calling Get().
    	updateFn func() (T, error)
    
    	// ttl for a cached value.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	return dsc
    }
    
    // replicate deletes to the designated replication target if replication configuration
    // has delete marker replication or delete replication (MinIO extension to allow deletes where version id
    // is specified) enabled.
    // Similar to bucket replication for PUT operation, soft delete (a.k.a setting delete marker) and
    // permanent deletes (by specifying a version ID in the delete operation) have three states "Pending", "Complete"
    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)
  3. cmd/warm-backend-azure.go

    }
    
    func (az *warmBackendAzure) InUse(ctx context.Context) (bool, error) {
    	containerURL := az.serviceURL.NewContainerURL(az.Bucket)
    	resp, err := containerURL.ListBlobsHierarchySegment(ctx, azblob.Marker{}, "/", azblob.ListBlobsSegmentOptions{
    		Prefix:     az.Prefix,
    		MaxResults: int32(1),
    	})
    	if err != nil {
    		return false, azureToObjectError(err, az.Bucket, az.Prefix)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  4. cmd/batch-rotate.go

    		return err
    	}
    
    	retryAttempts := ri.RetryAttempts
    	ctx, cancel := context.WithCancel(ctx)
    
    	results := make(chan ObjectInfo, 100)
    	if err := api.Walk(ctx, r.Bucket, r.Prefix, results, WalkOptions{
    		Marker: lastObject,
    		Filter: selectObj,
    	}); err != nil {
    		cancel()
    		// Do not need to retry if we can't list objects on source.
    		return err
    	}
    
    	for result := range results {
    		result := result
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  5. docs/metrics/prometheus/list.md

    | `minio_cluster_usage_total_bytes`            | Total cluster usage in bytes                                   |
    | `minio_cluster_usage_version_total`          | Total number of versions (includes delete marker) in a cluster |
    | `minio_cluster_usage_deletemarker_total`     | Total number of delete markers in a cluster                    |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
  6. cmd/test-utils_test.go

    	queryValue := url.Values{}
    	queryValue.Set("uploads", "")
    	queryValue.Set("prefix", prefix)
    	queryValue.Set("delimiter", delimiter)
    	queryValue.Set("key-marker", keyMarker)
    	queryValue.Set("upload-id-marker", uploadIDMarker)
    	queryValue.Set("max-uploads", maxUploads)
    	return makeTestTargetURL(endPoint, bucketName, "", queryValue)
    }
    
    // return URL for a listing parts on a given upload id.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  7. cmd/admin-heal-ops.go

    	select {
    	case res := <-task.respCh:
    		if !h.reportProgress {
    			if errors.Is(res.err, errSkipFile) { // this is only sent usually by nopHeal
    				return nil
    			}
    
    			// Report caller of any failure
    			return res.err
    		}
    		res.result.Type = healType
    		if res.err != nil {
    			res.result.Detail = res.err.Error()
    		}
    		return h.pushHealResultItem(res.result)
    	case <-h.ctx.Done():
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  8. cmd/metacache-entries.go

    		// If separator is not found or is last entry, ok.
    		return idx == -1 || idx == len(ext)-len(separator)
    	}
    	return false
    }
    
    // isLatestDeletemarker returns whether the latest version is a delete marker.
    // If metadata is NOT versioned false will always be returned.
    // If v2 and UNABLE to load metadata true will be returned.
    func (e *metaCacheEntry) isLatestDeletemarker() bool {
    	if e.cached != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. cmd/metacache-marker.go

    import (
    	"context"
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    // markerTagVersion is the marker version.
    // Should not need to be updated unless a fundamental change is made to the marker format.
    const markerTagVersion = "v2"
    
    // parseMarker will parse a marker possibly encoded with encodeMarker
    func (o *listPathOptions) parseMarker() {
    	s := o.Marker
    	if !strings.Contains(s, "[minio_cache:"+markerTagVersion) {
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. cmd/object-api-interface.go

    	Expires              time.Time // Is only used in POST/PUT operations
    
    	DeleteMarker            bool // Is only set in DELETE operations for delete marker replication
    	CheckDMReplicationReady bool // Is delete marker ready to be replicated - set only during HEAD
    	Tagging                 bool // Is only in GET/HEAD operations to return tagging metadata along with regular metadata and body.
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top