Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Walker (0.16 sec)

  1. docs/bucket/replication/setup_2site_existing_replication.sh

    mkdir -p /tmp/data
    for i in $(seq 1 10); do
    	echo "T" >/tmp/data/file_${i}.txt
    done
    
    ./mc mirror /tmp/data sitea/bucket/
    ./mc version enable sitea/bucket
    
    ./mc cp /tmp/data/file_1.txt sitea/bucket/marker
    ./mc rm sitea/bucket/marker
    
    ./mc mb siteb/bucket/
    ./mc version enable siteb/bucket/
    
    echo "adding replication rule for site a -> site b"
    ./mc replicate add sitea/bucket/ \
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. cmd/metacache-bucket_test.go

    	}
    	for i := 0; i < elements; i++ {
    		bm.findCache(listPathOptions{
    			ID:           mustGetUUID(),
    			Bucket:       "",
    			BaseDir:      pathNames[i%paths],
    			Prefix:       "",
    			FilterPrefix: "",
    			Marker:       "",
    			Limit:        0,
    			AskDisks:     "strict",
    			Recursive:    false,
    			Separator:    slashSeparator,
    			Create:       true,
    		})
    	}
    	b.ReportAllocs()
    	b.ResetTimer()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 25 23:29:45 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  3. internal/grid/stream.go

    	"errors"
    )
    
    // A Stream is a two-way stream.
    // All responses *must* be read by the caller.
    // If the call is canceled through the context,
    // the appropriate error will be returned.
    type Stream struct {
    	// responses from the remote server.
    	// Channel will be closed after error or when remote closes.
    	// All responses *must* be read by the caller until either an error is returned or the channel is closed.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Feb 28 18:05:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. internal/bucket/replication/rule.go

    	errPriorityMissing                        = Errorf("Priority must be specified")
    	errInvalidDeleteMarkerReplicationStatus   = Errorf("Delete marker replication status is invalid")
    	errDestinationSourceIdentical             = Errorf("Destination bucket cannot be the same as the source bucket.")
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jan 24 23:22:20 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. cmd/post-policy-fan-out.go

    	Checksum *hash.Checksum
    	MD5Hex   string
    }
    
    // fanOutPutObject takes an input source reader and fans out multiple PUT operations
    // based on the incoming fan-out request, a context cancellation by the caller
    // would ensure all fan-out operations are canceled.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. cmd/tier-sweeper.go

    	// 3. If bucket versioning is enabled and
    	//    a. version id is specified, remove its remote object.
    	//    b. version id is not specified, nothing to be done (a delete marker is added).
    	delTier := false
    	switch {
    	case !os.Versioned, os.Suspended: // 1, 2.a, 2.b
    		delTier = true
    	case os.Versioned && os.VersionID != "": // 3.a
    		delTier = true
    	}
    	if delTier {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. cmd/object-api-input-checks.go

    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	return nil
    }
    
    // Checks for all ListObjects arguments validity.
    func checkListObjsArgs(ctx context.Context, bucket, prefix, marker string) error {
    	// Verify if bucket is valid.
    	if !isMinioMetaBucketName(bucket) && s3utils.CheckValidBucketNameStrict(bucket) != nil {
    		return BucketNameInvalid{Bucket: bucket}
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. internal/lsync/lrwmutex.go

    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	retryCtx, cancel := context.WithTimeout(ctx, timeout)
    	defer cancel()
    
    	for {
    		select {
    		case <-retryCtx.Done():
    			// Caller context canceled or we timedout,
    			// return false anyways for both situations.
    			return false
    		default:
    			if lm.lock(id, source, isWriteLock) {
    				return true
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  9. internal/crypto/sse-kms.go

    	}
    
    	// There are two possibilities:
    	// - We use a KMS -> There must be non-empty key ID and a KMS data key.
    	// - We use a K/V -> There must be no key ID and no KMS data key.
    	// Otherwise, the caller has passed an invalid argument combination.
    	if keyID == "" && len(kmsKey) != 0 {
    		logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present"))
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. cmd/os_unix.go

    			if typ&os.ModeSymlink == os.ModeSymlink && fi.IsDir() {
    				continue
    			}
    
    			typ = fi.Mode() & os.ModeType
    		}
    		if err = fn(string(name), typ); err == errDoneForNow {
    			// fn() requested to return by caller.
    			return nil
    		}
    	}
    
    	return err
    }
    
    // Return count entries at the directory dirPath and all entries
    // if count is set to -1
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top