Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for heel (0.44 sec)

  1. internal/grid/connection.go

    		return
    	}
    
    	// TODO: This causes allocations, but escape analysis doesn't really show the cause.
    	// If another faithful engineer wants to take a stab, feel free.
    	go func(m message) {
    		var start time.Time
    		if m.DeadlineMS > 0 {
    			start = time.Now()
    		}
    		var b []byte
    		var err *RemoteErr
    		func() {
    			defer func() {
    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. src/bytes/bytes_test.go

    		}
    	}()
    	var b Buffer
    	b.Write(make([]byte, 10))
    	b.Truncate(20)
    }
    
    var containsTests = []struct {
    	b, subslice []byte
    	want        bool
    }{
    	{[]byte("hello"), []byte("hel"), true},
    	{[]byte("日本語"), []byte("日本"), true},
    	{[]byte("hello"), []byte("Hello, world"), false},
    	{[]byte("東京"), []byte("京東"), false},
    }
    
    func TestContains(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. cmd/format-erasure.go

    		index := index
    		g.Go(func() error {
    			if storageDisks[index] == nil {
    				return errDiskNotFound
    			}
    			format, err := loadFormatErasure(storageDisks[index], heal)
    			if err != nil {
    				return err
    			}
    			formats[index] = format
    			if !heal {
    				// If no healing required, make the disks valid and
    				// online.
    				storageDisks[index].SetDiskID(format.Erasure.This)
    			}
    			return nil
    		}, index)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/peer-s3-client.go

    		// of such a bucket. This is needed here as we identify such
    		// buckets here while listing buckets. As part of regular
    		// globalBucketMetadataSys.Init() call would get a valid
    		// buckets only and not the quourum lost ones like this, so
    		// explicit call
    		for bktName, count := range bucketsMap {
    			if count < quorum {
    				// Queue a bucket heal task
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  5. cmd/config-current.go

    		}
    		globalCompressConfigMu.Lock()
    		globalCompressConfig = cmpCfg
    		globalCompressConfigMu.Unlock()
    	case config.HealSubSys:
    		healCfg, err := heal.LookupConfig(s[config.HealSubSys][config.Default])
    		if err != nil {
    			errs = append(errs, fmt.Errorf("Unable to apply heal config: %w", err))
    		} else {
    			globalHealConfig.Update(healCfg)
    		}
    	case config.BatchSubSys:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle-audit.go

    type lcEventSrc uint8
    
    //revive:disable:var-naming Underscores is used here to indicate where common prefix ends and the enumeration name begins
    const (
    	lcEventSrc_None lcEventSrc = iota
    	lcEventSrc_Heal
    	lcEventSrc_Scanner
    	lcEventSrc_Decom
    	lcEventSrc_Rebal
    	lcEventSrc_s3HeadObject
    	lcEventSrc_s3GetObject
    	lcEventSrc_s3ListObjects
    	lcEventSrc_s3PutObject
    	lcEventSrc_s3CopyObject
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  7. cmd/data-usage.go

    	dataUsageBloomName     = ".bloomcycle.bin"
    	dataUsageBloomNamePath = bucketMetaPrefix + SlashSeparator + dataUsageBloomName
    
    	backgroundHealInfoPath = bucketMetaPrefix + SlashSeparator + ".background-heal.json"
    
    	dataUsageCacheName = ".usage-cache.bin"
    )
    
    // storeDataUsageInBackend will store all objects sent on the dui channel until closed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. internal/config/heal/help.go

    		},
    		config.HelpKV{
    			Key:         Sleep,
    			Description: `maximum sleep duration between objects to slow down heal operation` + defaultHelpPostfix(Sleep),
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         IOCount,
    			Description: `maximum IO requests allowed between objects to slow down heal operation` + defaultHelpPostfix(IOCount),
    			Optional:    true,
    			Type:        "int",
    		},
    		config.HelpKV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. cmd/mrf.go

    	for {
    		select {
    		case <-GlobalContext.Done():
    			return
    		case u, ok := <-m.opCh:
    			if !ok {
    				return
    			}
    
    			// We might land at .metacache, .trash, .multipart
    			// no need to heal them skip, only when bucket
    			// is '.minio.sys'
    			if u.bucket == minioMetaBucket {
    				// No MRF needed for temporary objects
    				if wildcard.Match("buckets/*/.metacache/*", u.object) {
    					continue
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    			// If we have successfully written all the content that was asked
    			// by the client, but we still see an error - this would mean
    			// that we have some parts or data blocks missing or corrupted
    			// - attempt a heal to successfully heal them for future calls.
    			if written == partLength {
    				var scan madmin.HealScanMode
    				switch {
    				case errors.Is(err, errFileNotFound):
    					scan = madmin.HealNormalScan
    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)
Back to top