Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for diff (0.14 sec)

  1. cmd/bootstrap-peer-server.go

    type ServerSystemConfig struct {
    	NEndpoints int
    	CmdLines   []string
    	MinioEnv   map[string]string
    }
    
    // Diff - returns error on first difference found in two configs.
    func (s1 *ServerSystemConfig) Diff(s2 *ServerSystemConfig) error {
    	ns1 := s1.NEndpoints
    	ns2 := s2.NEndpoints
    	if ns1 != ns2 {
    		return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. docs/bucket/replication/setup_2site_existing_replication.sh

    ./mc ls -r --versions sitea/bucket >/tmp/sitea.txt
    ./mc ls -r --versions siteb/bucket >/tmp/siteb.txt
    
    out=$(diff -qpruN /tmp/sitea.txt /tmp/siteb.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no 'diff' after replication: $out"
    	exit 1
    fi
    
    ./mc rm -r --force --versions sitea/bucket/marker
    sleep 14s ## sleep for 14s idea is that we give 100ms per object.
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. docs/bucket/replication/sio-error.sh

    sleep 1
    
    ./mc ls -r --versions myminio1/testbucket/dir/ >/tmp/dir_1.txt
    ./mc ls -r --versions myminio2/testbucket/dir/ >/tmp/dir_2.txt
    
    out=$(diff -qpruN /tmp/dir_1.txt /tmp/dir_2.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no 'diff' after replication: $out"
    	exit 1
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    		return true
    	}
    
    	pfi := float64(poolStats.InitFreeSpace+poolStats.Bytes) / float64(poolStats.InitCapacity)
    	// Mark pool rebalance as done if within 5% from PercentFreeGoal.
    	if diff := math.Abs(pfi - r.PercentFreeGoal); diff <= 0.05 {
    		r.PoolStats[poolIdx].Info.Status = rebalCompleted
    		r.PoolStats[poolIdx].Info.EndTime = time.Now()
    		return true
    	}
    
    	return false
    }
    
    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)
  5. docs/bucket/replication/setup_3site_replication.sh

    sleep 1
    
    echo "Verifying the metadata difference between source and target"
    if diff -pruN <(./mc stat --json sitea/bucket/hosts | jq .) <(./mc stat --json siteb/bucket/hosts | jq .) | grep -q 'COMPLETED\|REPLICA'; then
    	echo "verified sitea-> COMPLETED, siteb-> REPLICA"
    fi
    
    if diff -pruN <(./mc stat --json sitea/bucket/hosts | jq .) <(./mc stat --json sitec/bucket/hosts | jq .) | grep -q 'COMPLETED\|REPLICA'; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. internal/s3select/select_test.go

    			name:       "date_diff_month_oney",
    			query:      `SELECT date_diff(month, '2010T', '2011T') FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":12}`,
    		},
    		{
    			name:       "date_diff_month_neg",
    			query:      `SELECT date_diff(month, '2011T', '2010T') FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":-12}`,
    		},
    		{
    			name:       "date_diff_days",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  7. Makefile

    crosscompile: ## cross compile minio
    	@(env bash $(PWD)/buildscripts/cross-compile.sh)
    
    verifiers: lint check-gen
    
    check-gen: ## check for updated autogenerated files
    	@go generate ./... >/dev/null
    	@(! git diff --name-only | grep '_gen.go$$') || (echo "Non-committed changes in auto-generated code is detected, please commit them to proceed." && false)
    
    lint: getdeps ## runs golangci-lint suite of linters
    	@echo "Running $@ check"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  8. docs/distributed/distributed-from-config-file.sh

    	echo "unexpected object checksum, expected: ${expected_checksum} got: ${actual_checksum}"
    	exit
    fi
    
    # Compare the difference of the list of disks and their location, with the below expected output
    diff <(./mc admin info minio1 --json | jq -r '.info.servers[].drives[] | "\(.pool_index),\(.set_index),\(.disk_index) \(.endpoint)"' | sort) <(
    	cat <<EOF
    0,0,0 http://localhost:9001/tmp/xl/node9001/mnt/disk1
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. cmd/leak-detect_test.go

    	var stackDiff []string
    	for _, g := range pickRelevantGoroutines() {
    		// Identify the Go routines those were not present in the initial snapshot.
    		// In other words a stack diff.
    		if !initialSnapShot.relevantRoutines[g] {
    			stackDiff = append(stackDiff, g)
    		}
    	}
    	return stackDiff
    }
    
    // DetectLeak - Creates a snapshot of runtime stack and compares it with the initial stack snapshot.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. docs/site-replication/run-multi-site-ldap.sh

    if [ "${val}" != "val2" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    
    # Test if bucket created/deleted when minio1 is down healed
    diff -q <(./mc ls minio1) <(./mc ls minio2) 1>/dev/null
    if [ $? -ne 0 ]; then
    	echo "expected 'bucket2' delete and 'newbucket2' creation to have replicated, exiting..."
    	exit_1
    fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 04:51:23 GMT 2024
    - 10K bytes
    - Viewed (1)
Back to top