Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PeerEditReq (0.13 sec)

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

    	}
    
    	var pi madmin.PeerInfo
    	if err := parseJSONBody(ctx, r.Body, &pi, ""); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	if err := globalSiteReplicationSys.PeerEditReq(ctx, pi); err != nil {
    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    }
    
    // SRStateEdit - PUT /minio/admin/v3/site-replication/state/edit
    //
    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

    					replLogIf(ctx, err)
    					continue
    				}
    			}
    		}
    	}
    	return nil
    }
    
    // PeerEditReq - internal API handler to respond to a peer cluster's request
    // to edit endpoint.
    func (c *SiteReplicationSys) PeerEditReq(ctx context.Context, arg madmin.PeerInfo) error {
    	ourName := ""
    
    	// Set ReplicateILMExpiry for all peers
    	currTime := time.Now()
    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