Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for migration (0.33 sec)

  1. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    #!/bin/bash
    
    # This script is used to test the migration of IAM content from old minio
    # instance to new minio instance.
    #
    # To run it locally, start the LDAP server in github.com/minio/minio-iam-testing
    # repo (e.g. make podman-run), and then run this script.
    #
    # This script assumes that LDAP server is at:
    #
    #   `localhost:1389`
    #
    # if this is not the case, set the environment variable
    # `_MINIO_LDAP_TEST_SERVER`.
    
    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)
  2. cmd/format-erasure.go

    	if err := json.Unmarshal(b, format); err != nil {
    		return "", err
    	}
    	return format.Erasure.Version, nil
    }
    
    // Migrates all previous versions to latest version of `format.json`,
    // this code calls migration in sequence, such as V1 is migrated to V2
    // first before it V2 migrates to V3.n
    func formatErasureMigrate(export string) ([]byte, fs.FileInfo, error) {
    	formatPath := pathJoin(export, minioMetaBucket, formatConfigFile)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. internal/config/notify/legacy.go

    package notify
    
    import (
    	"fmt"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/event/target"
    )
    
    // SetNotifyKafka - helper for config migration from older config.
    func SetNotifyKafka(s config.Config, name string, cfg target.KafkaArgs) error {
    	if !cfg.Enable {
    		return nil
    	}
    
    	if err := cfg.Validate(); err != nil {
    		return err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  4. cmd/format-erasure_test.go

    		t.Fatalf("expected value false, got %t", ok)
    	}
    
    	formats[2].Erasure.This = ""
    	if ok := formatErasureV3ThisEmpty(formats); !ok {
    		t.Fatalf("expected value true, got %t", ok)
    	}
    }
    
    // Tests xl format migration.
    func TestFormatErasureMigrate(t *testing.T) {
    	// Get test root.
    	rootPath := t.TempDir()
    
    	m := &formatErasureV1{}
    	m.Format = formatBackendErasure
    	m.Version = formatMetaVersionV1
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    			adminMiddleware(adminAPI.DescribeBatchJob))
    		adminRouter.Methods(http.MethodDelete).Path(adminVersion + "/cancel-job").HandlerFunc(
    			adminMiddleware(adminAPI.CancelBatchJob))
    
    		// Bucket migration operations
    		// ExportBucketMetaHandler
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/export-bucket-metadata").HandlerFunc(
    			adminMiddleware(adminAPI.ExportBucketMetadataHandler))
    		// ImportBucketMetaHandler
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    // parseJSON parses both the old and the new format for storing policy
    // definitions.
    //
    // The on-disk format of policy definitions has changed (around early 12/2021)
    // from policy.Policy to PolicyDoc. To avoid a migration, loading supports
    // both the old and the new formats.
    func (d *PolicyDoc) parseJSON(data []byte) error {
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	var doc PolicyDoc
    	err := json.Unmarshal(data, &doc)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. docs/kms/IAM.md

    No, an upgrade should not cause any downtime. However, on the first startup -
    since MinIO will attempt to migrate any existing IAM data - the boot process may
    take slightly longer, but may not be visibly noticeable. Once the migration has
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. cmd/bucket-metadata.go

    	}
    	if err == nil {
    		b.defaultTimestamps()
    	}
    
    	// If bucket metadata is missing look for legacy files,
    	// since we only ever had b.Created as non-zero when
    	// migration was complete in 2020-May release. So this
    	// a check to avoid migrating for buckets that already
    	// have this field set.
    	if b.Created.IsZero() {
    		configs, err := b.getAllLegacyConfigs(ctx, objectAPI)
    		if err != nil {
    			return b, err
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  9. cmd/prepare-storage.go

    	go renameAllBucketMetacache(diskPath)
    }
    
    // Following error message is added to fix a regression in release
    // RELEASE.2018-03-16T22-52-12Z after migrating v1 to v2 to v3. This
    // migration failed to capture '.This' field properly which indicates
    // the disk UUID association. Below error message is returned when
    // we see this situation in format.json, for more info refer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  10. cmd/server-main.go

    	// the following reasons:
    	//  - Read quorum is lost just after the initialization
    	//    of the object layer.
    	//  - Write quorum not met when upgrading configuration
    	//    version is needed, migration is needed etc.
    	rquorum := InsufficientReadQuorum{}
    	wquorum := InsufficientWriteQuorum{}
    
    	// One of these retriable errors shall be retried.
    	return errors.Is(err, errDiskNotFound) ||
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (2)
Back to top