Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for refresh (0.22 sec)

  1. cmd/storage-rest-client.go

    		// transport is already down.
    		return "", errDiskNotFound
    	}
    
    	// This call should never be over the network, this is always
    	// a cached value - caller should make sure to use this
    	// function on a fresh disk or make sure to look at the error
    	// from a different networked call to validate the GetDiskID()
    	return *client.diskID.Load(), nil
    }
    
    func (client *storageRESTClient) SetDiskID(id string) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    }
    
    // WriteMetadata - writes FileInfo metadata for path at `xl.meta`
    func (s *xlStorage) WriteMetadata(ctx context.Context, origvolume, volume, path string, fi FileInfo) (err error) {
    	if fi.Fresh {
    		if origvolume != "" {
    			origvolumeDir, err := s.getVolDir(origvolume)
    			if err != nil {
    				return err
    			}
    
    			if !skipAccessChecks(origvolume) {
    				// Stat a volume entry.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    	}
    
    	// Fill all the necessary metadata.
    	// Update `xl.meta` content on each disks.
    	for index := range partsMetadata {
    		partsMetadata[index].Size = n
    		partsMetadata[index].Fresh = true
    		partsMetadata[index].ModTime = modTime
    		partsMetadata[index].Metadata = opts.UserDefined
    	}
    
    	// Set an additional header when data is inlined.
    	for index := range partsMetadata {
    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/erasure-sets.go

    				}
    				return ""
    			}(),
    			Endpoint: drive,
    			State:    state,
    		}
    	}
    
    	return beforeDrives
    }
    
    // HealFormat - heals missing `format.json` on fresh unformatted disks.
    func (s *erasureSets) HealFormat(ctx context.Context, dryRun bool) (res madmin.HealResultItem, err error) {
    	storageDisks, _ := initStorageDisksWithErrors(s.endpoints.Endpoints, storageOpts{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  5. cmd/erasure-multipart.go

    	// Fill all the necessary metadata.
    	// Update `xl.meta` content on each disks.
    	for index := range partsMetadata {
    		partsMetadata[index].Fresh = true
    		partsMetadata[index].ModTime = modTime
    		partsMetadata[index].Metadata = userDefined
    	}
    	uploadUUID := mustGetUUID()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  6. cmd/metrics-v3-types.go

    		}
    		return nil
    	}
    }
    
    // MetricsGroup - represents a group of metrics. It includes a `MetricsLoaderFn`
    // function that provides a way to load the metrics from the system. The metrics
    // are cached and refreshed after a given timeout.
    //
    // For metrics with a `bucket` dimension, a list of buckets argument is required
    // to collect the metrics.
    //
    // It implements the prometheus.Collector interface for metric groups without a
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top