Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PeerJoinReq (0.05 sec)

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

    	if err := parseJSONBody(ctx, r.Body, &joinArg, cred.SecretKey); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	if err := globalSiteReplicationSys.PeerJoinReq(ctx, joinArg); err != nil {
    		adminLogIf(ctx, err)
    		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 err := c.syncToAllPeers(ctx, opts); err != nil {
    		result.InitialSyncErrorMessage = err.Error()
    	}
    
    	return result, nil
    }
    
    // PeerJoinReq - internal API handler to respond to a peer cluster's request to join.
    func (c *SiteReplicationSys) PeerJoinReq(ctx context.Context, arg madmin.SRPeerJoinReq) error {
    	var ourName string
    	for d, p := range arg.Peers {
    		if d == globalDeploymentID() {
    			ourName = p.Name
    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