Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stopHealSequence (0.07 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(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  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 == "":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top