Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for triggerExpiryAndRepl (0.07 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    		return true
    	}
    	if !o.InclDeleted && entry.isObject() && entry.isLatestDeletemarker() && !entry.isObjectDir() {
    		return true
    	}
    	if o.Lifecycle != nil || o.Replication.Config != nil {
    		return triggerExpiryAndRepl(ctx, *o, entry)
    	}
    	return false
    }
    
    // gatherResults will collect all results on the input channel and filter results according
    // to the options or to the current bucket ILM expiry rules.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
Back to top