- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for internalLogIf (0.13 sec)
-
cmd/bucket-metadata.go
// If an error is returned the returned metadata will be default initialized. func readBucketMetadata(ctx context.Context, api ObjectLayer, name string) (BucketMetadata, error) { if name == "" { internalLogIf(ctx, errors.New("bucket name cannot be empty"), logger.WarningKind) return BucketMetadata{}, errInvalidArgument } b := newBucketMetadata(name) configFile := path.Join(bucketMetaPrefix, name, bucketMetadataFile)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 18.2K bytes - Viewed (0) -
cmd/logging.go
logger.LogOnceIf(ctx, "bootstrap", err, id, errKind...) } func dnsLogIf(ctx context.Context, err error, errKind ...interface{}) { logger.LogIf(ctx, "dns", err, errKind...) } func internalLogIf(ctx context.Context, err error, errKind ...interface{}) { logger.LogIf(ctx, "internal", err, errKind...) } func internalLogOnceIf(ctx context.Context, err error, id string, 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) -
cmd/bucket-policy.go
p, err := sys.Get(args.BucketName) if err == nil { return p.IsAllowed(args) } // Log unhandled errors. if _, ok := err.(BucketPolicyNotFound); !ok { internalLogIf(GlobalContext, err, logger.WarningKind) } // As policy is not available for given bucket name, returns IsOwner i.e. // operation is allowed only for owner. return args.IsOwner }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
} c.Algorithm = BitrotAlgorithmFromString(info.Algorithm) c.Hash = sum if _, err = fmt.Sscanf(info.Name, "part.%d", &c.PartNumber); err != nil { return err } if !c.Algorithm.Available() { internalLogIf(GlobalContext, errBitrotHashAlgoInvalid) return errBitrotHashAlgoInvalid } return nil } // constant and shouldn't be changed. const ( legacyDataDir = "legacy" )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/notification.go
// of profiling data of all nodes zipWriter := zip.NewWriter(writer) defer zipWriter.Close() // Start by embedding cluster info. if b := getClusterMetaInfo(ctx); len(b) > 0 { internalLogIf(ctx, embedFileInZip(zipWriter, "cluster.info", b, 0o600)) } // Profiles can be quite big, so we limit to max 16 concurrent downloads. ng := WithNPeersThrottled(len(sys.peerClients), 16) var writeMu sync.Mutex
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 46.2K bytes - Viewed (0) -
cmd/erasure-metadata.go
if partOffset < part.Size { return partIndex, partOffset, nil } // Continue to towards the next part. partOffset -= part.Size } internalLogIf(ctx, InvalidRange{}) // Offset beyond the size of the object return InvalidRange. return 0, 0, InvalidRange{} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 21.3K bytes - Viewed (0) -
cmd/xl-storage.go
if !errors.Is(err, os.ErrNotExist) { internalLogIf(GlobalContext, fmt.Errorf("unable to read %s: %w", healingFile, err)) } return nil } if len(b) == 0 { internalLogIf(GlobalContext, fmt.Errorf("%s is empty", healingFile)) // 'healing.bin' might be truncated return nil } h := newHealingTracker() _, err = h.UnmarshalMsg(b) internalLogIf(GlobalContext, err) return h }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
cmd/endpoint.go
sort.Strings(peers) hosts := make([]*xnet.Host, len(peers)) for i, hostStr := range peers { if hostStr == localPeer { continue } host, err := xnet.ParseHost(hostStr) if err != nil { internalLogIf(GlobalContext, err) continue } hosts[i] = host } return hosts } // peers will return all peers, including local. // The local peer is returned as a separate string.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 34.2K bytes - Viewed (0) -
cmd/utils.go
ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel() transport, err := s.NewHTTPTransportWithClientCerts(ctx, clientCert, clientKey) if err != nil { internalLogIf(ctx, fmt.Errorf("Unable to load client key and cert, please check your client certificate configuration: %w", err)) } if transport == nil { // Client certs are not readable return default transport.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 31.9K bytes - Viewed (0) -
cmd/data-scanner.go
b, err := json.Marshal(info) if err != nil { bugLogIf(ctx, err) return } // Get last healing information err = saveConfig(ctx, objAPI, backgroundHealInfoPath, b) if err != nil { internalLogIf(ctx, err) } } // runDataScanner will start a data scanner. // The function will block until the context is canceled. // There should only ever be one scanner running per cluster.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 21:10:34 UTC 2024 - 48.4K bytes - Viewed (0)