Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for availability (0.25 sec)

  1. cmd/metrics-v3-system-drive.go

    	driveTotalInodes             = "total_inodes"
    	driveTimeoutErrorsTotal      = "timeout_errors_total"
    	driveIOErrorsTotal           = "io_errors_total"
    	driveAvailabilityErrorsTotal = "availability_errors_total"
    	driveWaitingIO               = "waiting_io"
    	driveAPILatencyMicros        = "api_latency_micros"
    	driveHealing                 = "healing"
    	driveOnline                  = "online"
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. internal/config/storageclass/storage-class.go

    //
    // Default is "availability" optimized, unless this is configured.
    func (sCfg *Config) CapacityOptimized() bool {
    	ConfigLock.RLock()
    	defer ConfigLock.RUnlock()
    	if !sCfg.initialized {
    		return false
    	}
    	return sCfg.Optimize == "capacity"
    }
    
    // AvailabilityOptimized - returns true if the storage-class is availability
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. internal/http/check_port_linux.go

    	lc := &net.ListenConfig{
    		Control: func(network, address string, c syscall.RawConn) error {
    			c.Control(func(fdPtr uintptr) {
    				if opts.Interface != "" {
    					// When interface is specified look for specifically port availability on
    					// the specified interface if any.
    					_ = syscall.SetsockoptString(int(fdPtr), syscall.SOL_SOCKET, syscall.SO_BINDTODEVICE, opts.Interface)
    				}
    			})
    			return nil
    		},
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  4. internal/http/check_port_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    import (
    	"fmt"
    	"net"
    	"runtime"
    	"strconv"
    	"testing"
    )
    
    // Tests for port availability logic written for server startup sequence.
    func TestCheckPortAvailability(t *testing.T) {
    	if runtime.GOOS != "linux" {
    		t.Skip()
    	}
    
    	l, err := net.Listen("tcp", "localhost:0") // ask kernel for a free port.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    )
    
    // Detects change in underlying disk.
    type xlStorageDiskIDCheck struct {
    	totalWrites           atomic.Uint64
    	totalDeletes          atomic.Uint64
    	totalErrsAvailability atomic.Uint64 // Captures all data availability errors such as faulty disk, timeout errors.
    	totalErrsTimeout      atomic.Uint64 // Captures all timeout only errors
    
    	// apiCalls should be placed first so alignment is guaranteed for atomic operations.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. cmd/admin-router.go

    // name displayed in logs and trace to be accurate. The name is extracted via
    // reflection.
    //
    // When no flags are passed, gzip compression, http tracing of headers and
    // checking of object layer availability are all enabled. Use flags to modify
    // this behavior.
    func adminMiddleware(f http.HandlerFunc, flags ...hFlag) http.HandlerFunc {
    	// Collect all flags with bitwise-OR and assign operator
    	var handlerFlags hFlag
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. cmd/server-main.go

    	// to IPv6 address ie minio will start listening on IPv6 address whereas another
    	// (non-)minio process is listening on IPv4 of given port.
    	// To avoid this error situation we check for port availability.
    	logger.FatalIf(xhttp.CheckPortAvailability(globalMinioHost, globalMinioPort, globalTCPOptions), "Unable to start the server")
    }
    
    func initAllSubsystems(ctx context.Context) {
    	// Initialize notification peer targets
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  8. cmd/metrics-v2.go

    	}
    }
    
    func getNodeDriveAvailabilityErrorsMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: driveSubsystem,
    		Name:      "errors_availability",
    		Help:      "Total number of drive I/O errors, timeouts since server start",
    		Type:      counterMetric,
    	}
    }
    
    func getNodeDriveWaitingIOMD() MetricDescription {
    	return MetricDescription{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top