Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PeerBucketMetadataUpdateHandler (0.15 sec)

  1. cmd/admin-handlers-site-replication.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errSRInvalidRequest(errInvalidArgument)), r.URL)
    		return
    	}
    
    	var err error
    	switch item.Type {
    	default:
    		err = globalSiteReplicationSys.PeerBucketMetadataUpdateHandler(ctx, item)
    	case madmin.SRBucketMetaTypePolicy:
    		if item.Policy == nil {
    			err = globalSiteReplicationSys.PeerBucketPolicyHandler(ctx, item.Bucket, nil, item.UpdatedAt)
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    		if err != nil {
    			return wrapSRErr(err)
    		}
    		return nil
    	}
    
    	return nil
    }
    
    // PeerBucketMetadataUpdateHandler - merges the bucket metadata, save and ping other nodes
    func (c *SiteReplicationSys) PeerBucketMetadataUpdateHandler(ctx context.Context, item madmin.SRBucketMeta) error {
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil {
    		return errSRObjectLayerNotReady
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top