Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for oldCache (0.14 sec)

  1. cmd/erasure.go

    		return nil
    	}
    
    	// Load bucket totals
    	oldCache := dataUsageCache{}
    	if err := oldCache.load(ctx, er, dataUsageCacheName); err != nil {
    		return err
    	}
    
    	// New cache..
    	cache := dataUsageCache{
    		Info: dataUsageCacheInfo{
    			Name:      dataUsageRoot,
    			NextCycle: oldCache.Info.NextCycle,
    		},
    		Cache: make(map[string]dataUsageEntry, len(oldCache.Cache)),
    	}
    
    	// Put all buckets into channel.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  2. cmd/data-scanner.go

    			}
    			activeLifeCycle = f.oldCache.Info.lifeCycle
    		}
    		// If there are replication rules for the prefix.
    		var replicationCfg replicationConfig
    		if !f.oldCache.Info.replication.Empty() && f.oldCache.Info.replication.Config.HasActiveRules(prefix, true) {
    			replicationCfg = f.oldCache.Info.replication
    		}
    
    		if f.weSleep() {
    			scannerSleeper.Sleep(ctx, dataScannerSleepPerFolder)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top