Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for unlink (0.14 sec)

  1. cmd/xl-storage-meta-inline.go

    import (
    	"errors"
    	"fmt"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    // xlMetaInlineData is serialized data in [string][]byte pairs.
    type xlMetaInlineData []byte
    
    // xlMetaInlineDataVer indicates the version of the inline data structure.
    const xlMetaInlineDataVer = 1
    
    // versionOK returns whether the version is ok.
    func (x xlMetaInlineData) versionOK() bool {
    	if len(x) == 0 {
    		return true
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    				"node(%s): Read/Write/Delete successful, bringing drive %s online", globalLocalNodeName, p.storage.String())
    			p.health.status.Store(diskHealthOK)
    			p.health.waiting.Add(-1)
    			return
    		}
    	}
    }
    
    // monitorDiskStatus should be called once when a drive has been marked offline.
    // Once the disk has been deemed ok, it will return to online status.
    func (p *xlStorageDiskIDCheck) monitorDiskWritable(ctx context.Context) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    // Object Operations
    
    func countOnlineDisks(onlineDisks []StorageAPI) (online int) {
    	for _, onlineDisk := range onlineDisks {
    		if onlineDisk != nil && onlineDisk.IsOnline() {
    			online++
    		}
    	}
    	return online
    }
    
    // CopyObject - copy object source object to destination object.
    // if source object and destination object are same we only
    // update metadata.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/bucket-targets.go

    					prev, ok := sys.hc[result.Endpoint.Host]
    					sys.hMutex.RUnlock()
    					if ok {
    						if prev.Online != result.Online || !result.Online {
    							if !prev.lastHCAt.IsZero() {
    								offline = time.Since(prev.lastHCAt) + prev.offlineDuration
    							} else {
    								offline = prev.offlineDuration
    							}
    						} else if result.Online {
    							offline = prev.offlineDuration
    						}
    					}
    					lastOnline = prev.lastOnline
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  5. cmd/testdata/undeleteable-object.tgz

    žùç°§MetaSys ¼x-minio-internal-inline-dataÄ true§MetaUsr‚¤etagÙ 14a1119d5fe668d77000¬content-type¸application/octet-stream¡v Î@<ÉD ¤nullÄ7ÇZß ã?øO¼¡*gý V‰}z† Ír­!ù¬· 0Âéÿ S e ÚòP9WËpè‚ Jó±% multisitea/data/disterasure/xl12/bucket/2/xl.meta XL2 Æ i Ä$•Ä Ó É ¥— HÄ ABGJ Å =ƒ¤Type ¥V2ObjÞ ¢IDÄ ¤DDirÄ ¹Ü±Ÿ>!HÈ’¹Ž¦iÄ ÷¦EcAlgo £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDistœ ¨CSumAlgo ¨PartNums‘ ©PartETagsÀ©PartSizes‘|ªPartASizes‘|¤Size|¥MTimeÓ É ¥— H§MetaSys ¼x-minio-internal-inline-dataÄ true§MetaUsr‚¬content-typeªtext/plain¤etagÙ...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  6. cmd/is-dir-empty_linux.go

    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    	if err := syscall.Stat(dirname, &stat); err != nil {
    		return false
    	}
    	return stat.Mode&syscall.S_IFMT == syscall.S_IFDIR && stat.Nlink == 2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  7. cmd/metrics.go

    	nodesUp, nodesDown := globalNotificationSys.GetPeerOnlineCount()
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "nodes", "online"),
    			"Total number of MinIO nodes online",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(nodesUp),
    	)
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "nodes", "offline"),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    	currLinkLatency MetricName = "current_link_latency_ms"
    	avgLinkLatency  MetricName = "average_link_latency_ms"
    	maxLinkLatency  MetricName = "max_link_latency_ms"
    
    	linkOnline                MetricName = "link_online"
    	linkOfflineDuration       MetricName = "link_offline_duration_seconds"
    	linkDowntimeTotalDuration MetricName = "link_downtime_duration_seconds"
    
    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)
  9. cmd/site-replication-metrics_gen.go

    			}
    		case "LastOnline":
    			z.LastOnline, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastOnline")
    				return
    			}
    		case "Online":
    			z.Online, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Online")
    				return
    			}
    		case "Latency":
    			err = z.Latency.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Latency")
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
  10. docs/debugging/xl-meta/main.go

    			Name:   "ndjson",
    			Hidden: true,
    		},
    		cli.BoolFlag{
    			Usage: "display inline data keys and sizes",
    			Name:  "data",
    		},
    		cli.BoolFlag{
    			Usage: "export inline data",
    			Name:  "export",
    		},
    		cli.BoolFlag{
    			Usage: "combine inline data",
    			Name:  "combine",
    		},
    	}
    
    	app.Action = func(c *cli.Context) error {
    		ndjson := c.Bool("ndjson")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
Back to top