Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isStopped (0.23 sec)

  1. cmd/license-update.go

    		// reason, the lock will be released and another node will acquire it and
    		// take over because of this loop.
    		for {
    			licenceUpdaterLoop(ctx, objAPI)
    
    			// license update stopped for some reason.
    			// sleep for some time and try again.
    			duration := time.Duration(r.Float64() * float64(time.Hour))
    			if duration < time.Second {
    				// Make sure to sleep at least a second to avoid high CPU ticks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    				switch {
    				case errors.Is(rebalErr, context.Canceled):
    					status = rebalStopped
    					traceMsg = fmt.Sprintf("stopped at %s", now)
    				case rebalErr == nil:
    					status = rebalCompleted
    					traceMsg = fmt.Sprintf("completed at %s", now)
    				default:
    					status = rebalFailed
    					traceMsg = fmt.Sprintf("stopped at %s with err: %v", now, rebalErr)
    				}
    
    				z.rebalMu.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  3. docs/docker/README.md

    ```sh
    docker ps -a
    ```
    
    `-a` flag makes sure you get all the containers (Created, Running, Exited). Then identify the `Container ID` from the output.
    
    ### Starting and Stopping Containers
    
    To start a stopped container, you can use the [`docker start`](https://docs.docker.com/engine/reference/commandline/start/) command.
    
    ```sh
    docker start <container_id>
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  4. cmd/admin-heal-ops.go

    type healStatusSummary string
    
    // healStatusSummary constants
    const (
    	healNotStartedStatus healStatusSummary = "not started"
    	healRunningStatus                      = "running"
    	healStoppedStatus                      = "stopped"
    	healFinishedStatus                     = "finished"
    )
    
    const (
    	// a heal sequence with this many un-consumed heal result
    	// items blocks until heal-status consumption resumes or is
    	// aborted due to timeout.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  5. cmd/rebalance-admin.go

    		eta := time.Duration(totalBytesToRebal * float64(elapsed) / float64(ps.Bytes))
    		if !ps.Info.EndTime.IsZero() {
    			stopTime = ps.Info.EndTime
    		}
    
    		if !stopTime.IsZero() { // rebalance is stopped or completed
    			elapsed = stopTime.Sub(ps.Info.StartTime)
    			eta = 0
    		}
    
    		r.Pools[i].Progress = rebalPoolProgress{
    			NumObjects:  ps.NumObjects,
    			NumVersions: ps.NumVersions,
    			Bytes:       ps.Bytes,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:43 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  6. buildscripts/heal-manual.go

    			fmt.Println("Healstatus on items ===")
    			for _, item := range status.Items {
    				if err = enc.Encode(&item); err != nil {
    					log.Fatalln(err)
    				}
    			}
    			break
    		}
    		if status.Summary == "stopped" {
    			fmt.Println("Healstatus on items ===")
    			fmt.Println("Heal failed with", status.FailureDetail)
    			break
    		}
    
    		for _, item := range status.Items {
    			if err = enc.Encode(&item); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 09:47:58 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. cmd/metacache-set.go

    			tmp.Close()
    			entries.o = append(entries.o, e.o...)
    			if o.Limit > 0 && entries.len() > o.Limit {
    				entries.truncate(o.Limit)
    				return entries, nil
    			}
    			if err == nil {
    				// We stopped within the listing, we are done for now...
    				return entries, nil
    			}
    			if err != nil && !errors.Is(err, io.EOF) {
    				switch toObjectErr(err, minioMetaBucket, o.objectPath(partN)).(type) {
    				case ObjectNotFound:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. cmd/prepare-storage.go

    			// For all other unhandled errors we exit and fail.
    			return nil, nil, err
    		}
    
    		select {
    		case <-ticker.C:
    		case <-globalOSSignalCh:
    			return nil, nil, fmt.Errorf("Initializing data volumes gracefully stopped")
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. cmd/server-main.go

    	t1 := time.Now()
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	for {
    		select {
    		case <-ctx.Done():
    			// Retry was canceled successfully.
    			return fmt.Errorf("Initializing sub-systems stopped gracefully %w", ctx.Err())
    		default:
    		}
    
    		// These messages only meant primarily for distributed setup, so only log during distributed setup.
    		if globalIsDistErasure {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top