Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stopHealSequence (0.33 sec)

  1. cmd/admin-heal-ops.go

    func (ahs *allHealState) getHealSequence(path string) (h *healSequence, exists bool) {
    	ahs.RLock()
    	defer ahs.RUnlock()
    	h, exists = ahs.healSeqMap[path]
    	return h, exists
    }
    
    func (ahs *allHealState) stopHealSequence(path string) ([]byte, APIError) {
    	var hsp madmin.HealStopSuccess
    	he, exists := ahs.getHealSequence(path)
    	if !exists {
    		hsp = madmin.HealStopSuccess{
    			ClientToken: "unknown",
    			StartTime:   UTCNow(),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  2. cmd/admin-handlers.go

    			writeSuccessResponseJSON(w, respBytes)
    		}
    		return
    	}
    
    	respCh := make(chan healResp, 1)
    	switch {
    	case hip.forceStop:
    		go func() {
    			respBytes, apiErr := globalAllHealState.stopHealSequence(healPath)
    			hr := healResp{respBytes: respBytes, apiErr: apiErr}
    			respCh <- hr
    		}()
    	case hip.clientToken == "":
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
Back to top