Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for Walker (0.16 sec)

  1. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    }
    
    // findFirstPart will find the part with 0 being the first that corresponds to the marker in the options.
    // io.ErrUnexpectedEOF is returned if the place containing the marker hasn't been scanned yet.
    // io.EOF indicates the marker is beyond the end of the stream and does not exist.
    func (o *listPathOptions) findFirstPart(fi FileInfo) (int, error) {
    	search := o.Marker
    	if search == "" {
    		search = o.Prefix
    	}
    	if search == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle.go

    					break
    				}
    			}
    		}
    
    		if obj.ExpiredObjectDeleteMarker() {
    			if rule.Expiration.DeleteMarker.val {
    				// Indicates whether MinIO will remove a delete marker with no noncurrent versions.
    				// Only latest marker is removed. If set to true, the delete marker will be expired;
    				// if set to false the policy takes no action. This cannot be specified with Days or
    				// Date in a Lifecycle Expiration Policy.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. internal/dsync/drwmutex.go

    				noQuorum, err := refreshLock(ctx, dm.clnt, id, source, quorum)
    				if err == nil && noQuorum {
    					// Clean the lock locally and in remote nodes
    					forceUnlock(ctx, dm.clnt, id)
    					// Execute the caller lock loss callback
    					if lockLossCallback != nil {
    						lockLossCallback()
    					}
    					return
    				}
    
    				refreshTimer.Reset(dm.refreshInterval)
    			}
    		}
    	}()
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-utils.go

    	fivs, err := getAllFileInfoVersions(xlMetaBuf, volume, path, allParts)
    	if err != nil {
    		return fivs, err
    	}
    	n := 0
    	for _, fi := range fivs.Versions {
    		// Filter our tier object delete marker
    		if !fi.TierFreeVersion() {
    			fivs.Versions[n] = fi
    			n++
    		} else {
    			fivs.FreeVersions = append(fivs.FreeVersions, fi)
    		}
    	}
    	fivs.Versions = fivs.Versions[:n]
    	// Update numversions
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. cmd/object-handlers-common.go

    	// and don't process the If-Modified-Since header.
    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    	// If top level is a delete marker proceed to upload.
    	if objInfo.DeleteMarker {
    		return false
    	}
    
    	// Headers to be set of object content is not going to be written to the client.
    	writeHeaders := func() {
    		// set common headers
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    		ctx, cancel := context.WithCancel(ctx)
    		// one of source/target is s3, skip delete marker and all versions under the same object name.
    		s3Type := r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3
    
    		if err := api.Walk(ctx, r.Source.Bucket, r.Source.Prefix, walkCh, WalkOptions{
    			Marker:   lastObject,
    			Filter:   selectObj,
    			AskDisks: walkQuorum,
    		}); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  8. internal/bucket/replication/replication_test.go

    	testCases := []struct {
    		inputConfig           string
    		expectedParsingErr    error
    		expectedValidationErr error
    		destBucket            string
    		sameTarget            bool
    	}{
    		{ // 1 Invalid delete marker status in replication config
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  9. cmd/metacache-walk.go

    	if err != nil {
    		return toStorageErr(err)
    	}
    	return toStorageErr(st.Results(func(in []byte) error {
    		_, err := wr.Write(in)
    		return err
    	}))
    }
    
    // WalkDirHandler - remote caller to list files and folders in a requested directory path.
    func (s *storageRESTServer) WalkDirHandler(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) (gerr *grid.RemoteErr) {
    	var opts WalkDirOptions
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. cmd/erasure.go

    					return nil
    				})
    			})
    		}(disk)
    	}
    	wg.Wait()
    }
    
    // nsScanner will start scanning buckets and send updated totals as they are traversed.
    // Updates are sent on a regular basis and the caller *must* consume them.
    func (er erasureObjects) nsScanner(ctx context.Context, buckets []BucketInfo, wantCycle uint32, updates chan<- dataUsageCache, healScanMode madmin.HealScanMode) error {
    	if len(buckets) == 0 {
    		return nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
Back to top