Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for triggerExpiryAndRepl (0.09 sec)

  1. cmd/metacache-server-pool.go

    		}
    		storageLogIf(ctx, err)
    		return err
    	}
    	if allAtEOF {
    		return io.EOF
    	}
    	return nil
    }
    
    // triggerExpiryAndRepl applies lifecycle and replication actions on the listing
    // It returns true if the listing is non-versioned and the given object is expired.
    func triggerExpiryAndRepl(ctx context.Context, o listPathOptions, obj metaCacheEntry) (skip bool) {
    	versioned := o.Versioning != nil && o.Versioning.Versioned(obj.name)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    			}
    			if !o.InclDeleted && entry.isObject() && entry.isLatestDeletemarker() && !entry.isObjectDir() {
    				continue
    			}
    			if o.Lifecycle != nil || o.Replication.Config != nil {
    				if skipped := triggerExpiryAndRepl(ctx, *o, entry); skipped == true {
    					results.lastSkippedEntry = entry.name
    					continue
    				}
    			}
    			if o.Limit > 0 && results.len() >= o.Limit {
    				// We have enough and we have more.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top