Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for internalLogIf (0.11 sec)

  1. cmd/bucket-object-lock.go

    	ret := objectlock.GetObjectRetentionMeta(objInfo.UserDefined)
    	if ret.Mode.Valid() && (ret.Mode == objectlock.RetCompliance || ret.Mode == objectlock.RetGovernance) {
    		t, err := objectlock.UTCNowNTP()
    		if err != nil {
    			internalLogIf(ctx, err, logger.WarningKind)
    			return true
    		}
    		if ret.RetainUntilDate.After(t) {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. cmd/metacache-walk.go

    				meta.metadata, err = xioutil.ReadFile(pathJoinBuf(sb, volumeDir, current, entry))
    				diskHealthCheckOK(ctx, err)
    				if err != nil {
    					if !IsErrIgnored(err, io.EOF, io.ErrUnexpectedEOF) {
    						internalLogIf(ctx, err)
    					}
    					continue
    				}
    				meta.name = strings.TrimSuffix(entry, xlStorageFormatFileV1)
    				meta.name = strings.TrimSuffix(meta.name, SlashSeparator)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. cmd/update.go

    		// CRI-O, Containerd etc..
    		// Fallback to our container specific ENVs if they are set.
    		return env.IsSet("MINIO_ACCESS_KEY_FILE")
    	}
    
    	// Log error, as we will not propagate it to caller
    	internalLogIf(GlobalContext, err)
    
    	return err == nil
    }
    
    // IsDCOS returns true if minio is running in DCOS.
    func IsDCOS() bool {
    	// http://mesos.apache.org/documentation/latest/docker-containerizer/
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. cmd/bucket-metadata-sys.go

    	defer t.Stop()
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-t.C:
    			buckets, err := sys.objAPI.ListBuckets(ctx, BucketOptions{NoMetadata: true})
    			if err != nil {
    				internalLogIf(ctx, err, logger.WarningKind)
    				break
    			}
    
    			// Handle if we have some buckets in-memory those are stale.
    			// first delete them and then replace the newer state()
    			// from disk.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    					loadedPart = -1
    					time.Sleep(retryDelay250)
    					continue
    				default:
    					internalLogIf(ctx, err)
    					return entries, err
    				}
    			}
    
    			// We finished at the end of the block.
    			// And should not expect any more results.
    			bi, err := getMetacacheBlockInfo(fi, partN)
    			internalLogIf(ctx, err)
    			if err != nil || bi.EOS {
    				// We are done and there are no more parts.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top