Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for triggerExpiryAndRepl (0.3 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)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K 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.
    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)
Back to top