Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for fi (0.14 sec)

  1. cmd/erasure-object.go

    	fi := newFileInfo(pathJoin(bucket, object), dataDrives, parityDrives)
    	fi.VersionID = opts.VersionID
    	if opts.Versioned && fi.VersionID == "" {
    		fi.VersionID = mustGetUUID()
    	}
    
    	fi.DataDir = mustGetUUID()
    	fi.Checksum = opts.WantChecksum.AppendTo(nil, nil)
    	if opts.EncryptFn != nil {
    		fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum)
    	}
    	uniqueID := mustGetUUID()
    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)
  2. cmd/naughty-disk_test.go

    }
    
    func (d *naughtyDisk) WriteMetadata(ctx context.Context, origvolume, volume, path string, fi FileInfo) (err error) {
    	if err := d.calcError(); err != nil {
    		return err
    	}
    	return d.disk.WriteMetadata(ctx, origvolume, volume, path, fi)
    }
    
    func (d *naughtyDisk) UpdateMetadata(ctx context.Context, volume, path string, fi FileInfo, opts UpdateMetadataOpts) (err error) {
    	if err := d.calcError(); err != nil {
    		return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. buildscripts/verify-build.sh

    		exit 1
    	fi
    
    	echo "Testing in Distributed Erasure setup"
    	if ! run_test_dist_erasure; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	echo "Testing in Erasure setup as sets"
    	if ! run_test_erasure_sets; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	echo "Testing in Distributed Eraure expanded setup"
    	if ! run_test_pool_erasure_sets; then
    		echo "FAILED"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  4. buildscripts/verify-healing.sh

    		done
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	sleep 1
    	if pgrep minio; then
    		# forcibly killing, to proceed further properly.
    		if ! pkill -9 minio; then
    			echo "no minio process running anymore, proceed."
    		fi
    	fi
    }
    
    function check_heal() {
    	if ! grep -q 'Status:' ${WORK_DIR}/dist-minio-*.log; then
    		return 1
    	fi
    
    	for ((i = 0; i < 20; i++)); do
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  5. cmd/xl-storage-disk-id-check.go

    	if len(fi.Data) > 0 {
    		fi.Data = append(grid.GetByteBufferCap(len(fi.Data))[:0], fi.Data...)
    	}
    	return xioutil.WithDeadline[RenameDataResp](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) (res RenameDataResp, err error) {
    		if len(fi.Data) > 0 {
    			defer grid.PutByteBuffer(fi.Data)
    		}
    		return p.storage.RenameData(ctx, srcVolume, srcPath, fi, dstVolume, dstPath, opts)
    	})
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. buildscripts/heal-inconsistent-versions.sh

    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function start_minio_4drive() {
    	start_port=$1
    
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  7. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    		echo "curl is already installed"
    	else
    		echo "Installing curl:"
    		sudo apt install curl -y
    	fi
    
    	export GOPATH=/tmp/gopath
    	export PATH="${PATH}":"${GOPATH}"/bin
    
    	if which mc &>/dev/null; then
    		echo "mc is already installed"
    	else
    		echo "Installing mc:"
    		go install github.com/minio/mc@latest
    	fi
    
    	if [ ! -x ./minio.${OLD_VERSION} ]; then
    		echo "Downloading minio.${OLD_VERSION} binary"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. helm/minio/templates/_helper_create_svcacct.txt

      if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then
        echo "credentials file does not exist"
        return 1
      fi
      if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then
        echo "credentials file is invalid"
        rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
        return 1
      fi
      SVCACCT=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP)
      # Create the svcacct if it does not exist
      if ! checkSvcacctExists ; then
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. cmd/tier-journal.go

    	if jd.file == nil { // already closed
    		return nil
    	}
    
    	var (
    		f   *os.File
    		fi  os.FileInfo
    		err error
    	)
    	// Setting j.file to nil
    	f, jd.file = jd.file, f
    	if fi, err = f.Stat(); err != nil {
    		return err
    	}
    	f.Close() // close before rename()
    
    	// Skip renaming active journal if empty.
    	if fi.Size() == tierJournalHdrLen {
    		return os.Remove(jd.JournalPath())
    	}
    
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-rebalance.go

    }
    
    func (rs *rebalanceStats) update(bucket string, fi FileInfo) {
    	if fi.IsLatest {
    		rs.NumObjects++
    	}
    
    	rs.NumVersions++
    	onDiskSz := int64(0)
    	if !fi.Deleted {
    		onDiskSz = fi.Size * int64(fi.Erasure.DataBlocks+fi.Erasure.ParityBlocks) / int64(fi.Erasure.DataBlocks)
    	}
    	rs.Bytes += uint64(onDiskSz)
    	rs.Bucket = bucket
    	rs.Object = fi.Name
    }
    
    type rstats []*rebalanceStats
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top