Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for Unix (0.14 sec)

  1. internal/grid/connection.go

    		case <-ctx.Done():
    			return
    		case <-ping.C:
    			if c.State() != StateConnected {
    				continue
    			}
    			lastPong := atomic.LoadInt64(&c.LastPong)
    			if lastPong > 0 {
    				lastPongTime := time.Unix(lastPong, 0)
    				if d := time.Since(lastPongTime); d > connPingInterval*2 {
    					gridLogIf(ctx, fmt.Errorf("host %s last pong too old (%v); disconnecting", c.Remote, d.Round(time.Millisecond)))
    					return
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    		oi1.ModTime.Unix() > oi2.LastModified.Unix() && oi1.VersionID == nullVersionID {
    		return replicateNone
    	}
    	sz, _ := oi1.GetActualSize()
    
    	// needs full replication
    	if oi1.ETag != oi2.ETag ||
    		oi1.VersionID != oi2.VersionID ||
    		sz != oi2.Size ||
    		oi1.DeleteMarker != oi2.IsDeleteMarker ||
    		oi1.ModTime.Unix() != oi2.LastModified.Unix() {
    		return replicateAll
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. cmd/metrics-v2.go

    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: processSubsystem,
    		Name:      startTime,
    		Help:      "Start time for MinIO process per node, time in seconds since Unix epoc",
    		Type:      gaugeMetric,
    	}
    }
    
    func getMinIOProcessUptimeMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: processSubsystem,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    	}
    
    	dn := "uid=svc.algorithm,ou=swengg,dc=min,dc=io"
    	res, err := s.adm.ListAccessKeysLDAP(ctx, dn, "")
    	if err != nil {
    		c.Fatalf("Unable to list access keys: %v", err)
    	}
    
    	epochTime := time.Unix(0, 0).UTC()
    	expectedAccKeys := madmin.ListAccessKeysLDAPResp{
    		ServiceAccounts: []madmin.ServiceAccountInfo{
    			{
    				AccessKey:  "u4ccRswj62HV3Ifwima7",
    				Expiration: &epochTime,
    			},
    		},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    			hdrs = r.Header
    		}
    
    		opts, err := putOpts(ctx, bucket, object, versionID, hdrs, metadata)
    		if err != nil {
    			return err
    		}
    
    		opts.MTime = info.ModTime()
    		if opts.MTime.Unix() <= 0 {
    			opts.MTime = UTCNow()
    		}
    		opts.IndexCB = idxCb
    
    		retentionMode, retentionDate, legalHold, s3err := checkPutObjectLockAllowed(ctx, r, bucket, object, getObjectInfo, retPerms, holdPerms)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. internal/rest/client.go

    func (c *Client) IsOnline() bool {
    	return atomic.LoadInt32(&c.connected) == online
    }
    
    // LastConn returns when the disk was (re-)connected
    func (c *Client) LastConn() time.Time {
    	return time.Unix(0, atomic.LoadInt64(&c.lastConn))
    }
    
    // LastError returns previous error
    func (c *Client) LastError() error {
    	c.RLock()
    	defer c.RUnlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  7. cmd/storage-datatypes.go

    	ModTime time.Time `msg:"mt"`
    
    	// Total file size.
    	Size int64 `msg:"sz"`
    
    	// File mode bits.
    	Mode uint32 `msg:"m"`
    
    	// WrittenByVersion is the unix time stamp of the MinIO
    	// version that created this version of the object.
    	WrittenByVersion uint64 `msg:"wv"`
    
    	// File metadata
    	Metadata map[string]string `msg:"meta"`
    
    	// All the parts per object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. cmd/erasure-metadata_test.go

    		{
    			fis:            getNFInfo(16, 16, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil),
    			modTime:        time.Unix(1603863445, 0),
    			expectedErr:    nil,
    			expectedQuorum: 8,
    		},
    		{
    			fis:            getNFInfo(16, 7, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil),
    			modTime:        time.Unix(1603863445, 0),
    			expectedErr:    InsufficientReadQuorum{},
    			expectedQuorum: 8,
    		},
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. cmd/object-handlers-common.go

    	if r.Method != http.MethodPut {
    		return false
    	}
    	// If the object doesn't have a modtime (IsZero), or the modtime
    	// is obviously garbage (Unix time == 0), then ignore modtimes
    	// and don't process the If-Modified-Since header.
    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    	// Headers to be set of object content is not going to be written to the client.
    	writeHeaders := func() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  10. docs/metrics/v3.md

    | `start_time_seconds`          | `gauge`   | Start time for MinIO process in seconds since Unix epoc                                                        | `server` |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 28.5K bytes
    - Viewed (0)
Back to top