Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for scwang (0.17 sec)

  1. cmd/metacache.go

    	"fmt"
    	"path"
    	"strings"
    	"time"
    )
    
    type scanStatus uint8
    
    const (
    	scanStateNone scanStatus = iota
    	scanStateStarted
    	scanStateSuccess
    	scanStateError
    
    	// Time in which the initiator of a scan must have reported back.
    	metacacheMaxRunningAge = time.Minute
    
    	// Max time between client calls before dropping an async cache listing.
    	metacacheMaxClientWait = 3 * time.Minute
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. .mailmap

    # Generate CONTRIBUTORS.md: contributors.sh
    
    # Tip for finding duplicates (besides scanning the output of CONTRIBUTORS.md for name
    # duplicates that aren't also email duplicates): scan the output of:
    #   git log --format='%aE - %aN' | sort -uf
    #
    # For explanation on this file format: man git-shortlog
    
    Anand Babu (AB) Periasamy <******@****.***> Anand Babu (AB) Periasamy <******@****.***>
    Anand Babu (AB) Periasamy <******@****.***> <******@****.***>
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 18:39:42 GMT 2019
    - 835 bytes
    - Viewed (0)
  3. cmd/streaming-v4-unsigned.go

    	wantTrailers := make(map[string]struct{}, len(cr.trailers))
    	for k := range cr.trailers {
    		wantTrailers[strings.ToLower(k)] = struct{}{}
    	}
    	input := bufio.NewScanner(bytes.NewReader(valueBuffer.Bytes()))
    	for input.Scan() {
    		line := strings.TrimSpace(input.Text())
    		if line == "" {
    			continue
    		}
    		// Find first separator.
    		idx := strings.IndexByte(line, trailerKVSeparator[0])
    		if idx <= 0 || idx >= len(line) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  4. cmd/data-scanner-metric.go

    	scannerMetricHealAbandonedVersion
    
    	// START Trace metrics:
    	scannerMetricStartTrace
    	scannerMetricScanObject // Scan object. All operations included.
    	scannerMetricHealAbandonedObject
    
    	// END realtime metrics:
    	scannerMetricLastRealtime
    
    	// Trace only metrics:
    	scannerMetricScanFolder      // Scan a folder on disk, recursively.
    	scannerMetricScanCycle       // Full cycle, cluster global
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  5. internal/disk/directio_unsupported.go

    // reasons. Note that ZFS is effectively the default filesystem on illumos
    // systems.
    //
    // One benefit of using DirectIO on Linux is that the page cache will not be
    // polluted with single-access data. The ZFS read cache (ARC) is scan-resistant
    // so there is no risk of polluting the entire cache with data accessed once.
    // Another goal of DirectIO is to minimize the mutation of data by the kernel
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. docs/debugging/pprofgoparser/main.go

    		bf.Reset()
    	}
    
    	ret := make(map[time.Duration][]string)
    
    	s := bufio.NewScanner(f)
    	s.Split(bufio.ScanLines)
    
    	var (
    		t            time.Duration
    		skip, record bool
    	)
    
    	for s.Scan() {
    		line := s.Text()
    		switch {
    		case skip && line != "":
    		case skip && line == "":
    			skip = false
    		case record && line == "":
    			stackTrace := bf.String()
    			reset()
    			record = false
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. internal/config/heal/heal.go

    	EnvIOCount      = "MINIO_HEAL_MAX_IO"
    	EnvDriveWorkers = "MINIO_HEAL_DRIVE_WORKERS"
    )
    
    var configMutex sync.RWMutex
    
    // Config represents the heal settings.
    type Config struct {
    	// Bitrot will perform bitrot scan on local disk when checking objects.
    	Bitrot string `json:"bitrotscan"`
    
    	// maximum sleep duration between objects to slow down heal operation.
    	Sleep   time.Duration `json:"sleep"`
    	IOCount int           `json:"iocount"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  8. cmd/data-usage-utils.go

    	TotalUsedCapacity uint64 `json:"usedCapacity,omitempty"`
    	TotalFreeCapacity uint64 `json:"freeCapacity,omitempty"`
    
    	// LastUpdate is the timestamp of when the data usage info was last updated.
    	// This does not indicate a full scan.
    	LastUpdate time.Time `json:"lastUpdate"`
    
    	// Objects total count across all buckets
    	ObjectsTotalCount uint64 `json:"objectsCount"`
    
    	// Versions total count across all buckets
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. docs/bucket/lifecycle/README.md

    A non-current object version is a version which is not the latest for a given object. It is possible to set up an automatic removal of non-current versions when a version becomes older than a given number of days.
    
    e.g., To scan objects stored under `user-uploads/` prefix and remove versions older than one year.
    
    ```
    {
        "Rules": [
            {
                "ID": "Removing all old versions",
                "Filter": {
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Aug 26 07:33:25 GMT 2023
    - 9K bytes
    - Viewed (1)
  10. cmd/mrf.go

    			scan := madmin.HealNormalScan
    			if u.scanMode != 0 {
    				scan = u.scanMode
    			}
    			if u.object == "" {
    				healBucket(u.bucket, scan)
    			} else {
    				if len(u.versions) > 0 {
    					vers := len(u.versions) / 16
    					if vers > 0 {
    						for i := 0; i < vers; i++ {
    							healObject(u.bucket, u.object, uuid.UUID(u.versions[16*i:]).String(), scan)
    						}
    					}
    				} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top