Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for scannerLogOnceIf (0.13 sec)

  1. cmd/erasure.go

    					continue
    				}
    				scannerLogOnceIf(ctx, cache.save(ctx, er, dataUsageCacheName), "nsscanner-cache-update")
    				updates <- cache.clone()
    
    				lastSave = cache.Info.LastUpdate
    			case v, ok := <-bucketResults:
    				if !ok {
    					// Save final state...
    					cache.Info.NextCycle = wantCycle
    					cache.Info.LastUpdate = time.Now()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. cmd/data-usage.go

    			saveConfig(ctx, objAPI, dataUsageObjNamePath+".bkp", dataUsageJSON) // Save a backup every 10th update.
    			attempts = 1
    		}
    		if err = saveConfig(ctx, objAPI, dataUsageObjNamePath, dataUsageJSON); err != nil {
    			scannerLogOnceIf(ctx, err, dataUsageObjNamePath)
    		}
    		attempts++
    	}
    }
    
    var prefixUsageCache = cachevalue.New[map[string]uint64]()
    
    // loadPrefixUsageFromBackend returns prefix usages found in passed buckets
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. cmd/logging.go

    	logger.LogOnceConsoleIf(ctx, "config", err, id, errKind...)
    }
    
    func scannerLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "scanner", err, errKind...)
    }
    
    func scannerLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "scanner", err, id, errKind...)
    }
    
    func ilmLogIf(ctx context.Context, err error, errKind ...interface{}) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 18:49:48 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    		if err != nil {
    			scannerLogOnceIf(ctx, err, i.bucket)
    			return
    		}
    
    		// Check if bucket is object locked.
    		lr, err = globalBucketObjectLockSys.Get(i.bucket)
    		if err != nil {
    			scannerLogOnceIf(ctx, err, i.bucket)
    			return
    		}
    
    		rcfg, err = getReplicationConfig(ctx, i.bucket)
    		if err != nil {
    			scannerLogOnceIf(ctx, err, i.bucket)
    			return
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. cmd/data-usage-cache.go

    		return
    	}
    	// If off by 2 orders of magnitude, compact self and log error.
    	if len(topE.Children) > dataScannerForceCompactAtFolders {
    		// If we still have too many children, compact self.
    		scannerLogOnceIf(GlobalContext, fmt.Errorf("forceCompact: %q has %d children. Force compacting. Expect reduced scanner performance", d.Info.Name, len(topE.Children)), d.Info.Name)
    		d.reduceChildrenOf(hashPath(d.Info.Name), limit, true)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top