Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for unfreezeServices (0.1 sec)

  1. cmd/service.go

    	globalServiceFreezeCnt++
    	if globalServiceFreezeCnt == 1 {
    		globalServiceFreeze.Store(make(chan struct{}))
    	}
    	globalServiceFreezeMu.Unlock()
    }
    
    // unfreezeServices will unfreeze all incoming S3 API calls.
    // For each call, unfreezeServices must be called once.
    func unfreezeServices() {
    	// We need a lock since we need the 2 atomic values to remain in sync.
    	globalServiceFreezeMu.Lock()
    	// Close when we reach 0
    	globalServiceFreezeCnt--
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. cmd/server-main.go

    			bootstrapTrace("go startSFTPServer", func() {
    				go startSFTPServer(globalServerCtxt.SFTP)
    			})
    		}
    	}()
    
    	go func() {
    		if globalEnableSyncBoot {
    			defer bootstrapTrace("unfreezeServices", unfreezeServices)
    			t := time.AfterFunc(5*time.Minute, func() {
    				warnings = append(warnings,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  3. cmd/admin-handlers.go

    	}
    
    	// Reply to the client before restarting, stopping MinIO server.
    	writeSuccessResponseHeadersOnly(w)
    
    	switch serviceSig {
    	case serviceFreeze:
    		freezeServices()
    	case serviceUnFreeze:
    		unfreezeServices()
    	case serviceRestart, serviceStop:
    		globalServiceSignalCh <- serviceSig
    	}
    }
    
    type servicePeerResult struct {
    	Host          string                        `json:"host"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  4. cmd/notification.go

    		ng.Go(GlobalContext, func() error {
    			return client.SignalService(serviceSig, "", false, nil)
    		}, idx, *client.host)
    	}
    	nerrs := ng.Wait()
    	if freeze {
    		freezeServices()
    	} else {
    		unfreezeServices()
    	}
    	return nerrs
    }
    
    // Netperf - perform mesh style network throughput test
    func (sys *NotificationSys) Netperf(ctx context.Context, duration time.Duration) []madmin.NetperfNodeResult {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    			}
    			return np, grid.NewRemoteErrString(string(buf))
    		}
    		if !dryRun {
    			globalServiceSignalCh <- signal
    		}
    	case serviceFreeze:
    		freezeServices()
    	case serviceUnFreeze:
    		unfreezeServices()
    	case serviceReloadDynamic:
    		objAPI := newObjectLayerFn()
    		if objAPI == nil {
    			return np, grid.NewRemoteErr(errServerNotInitialized)
    		}
    		srvCfg, err := getValidConfig(objAPI)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top