Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cancelResync (0.1 sec)

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

    		err    error
    	)
    	switch op {
    	case madmin.SiteResyncStart:
    		status, err = globalSiteReplicationSys.startResync(ctx, objectAPI, peerSite)
    	case madmin.SiteResyncCancel:
    		status, err = globalSiteReplicationSys.cancelResync(ctx, objectAPI, peerSite)
    	default:
    		err = errSRInvalidRequest(errInvalidArgument)
    	}
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    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 len(buckets) != 0 && len(res.Buckets) == len(buckets) {
    		return res, fmt.Errorf("all buckets resync failed")
    	}
    	return res, nil
    }
    
    // cancelResync stops an ongoing site level resync for the peer specified.
    func (c *SiteReplicationSys) cancelResync(ctx context.Context, objAPI ObjectLayer, peer madmin.PeerInfo) (res madmin.SRResyncOpStatus, err error) {
    	if !c.isEnabled() {
    		return res, errSRNotEnabled
    	}
    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