Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for cleanup (0.18 sec)

  1. .github/workflows/multipart/migrate.sh

    #!/bin/bash
    
    set -x
    
    ## change working directory
    cd .github/workflows/multipart/
    
    function cleanup() {
    	docker-compose -f docker-compose-site1.yaml rm -s -f || true
    	docker-compose -f docker-compose-site2.yaml rm -s -f || true
    	for volume in $(docker volume ls -q | grep minio); do
    		docker volume rm ${volume} || true
    	done
    
    	docker system prune -f || true
    	docker volume prune -f || true
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. cmd/metacache-bucket.go

    	b.updated = true
    	b.debugf("returning new cache %s, bucket: %v", best.id, best.bucket)
    	return best
    }
    
    // cleanup removes redundant and outdated entries.
    func (b *bucketMetacache) cleanup() {
    	// Entries to remove.
    	remove := make(map[string]struct{})
    
    	// Test on a copy
    	// cleanup is the only one deleting caches.
    	caches, _ := b.cloneCaches()
    
    	for id, cache := range caches {
    		if !cache.worthKeeping() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. cmd/os-readdir_test.go

    	dir := t.TempDir()
    	entries := []string{}
    	for i := 0; i < 10; i++ {
    		name := fmt.Sprintf("file-%d", i)
    		if err := os.WriteFile(filepath.Join(dir, name), []byte{}, os.ModePerm); err != nil {
    			// For cleanup, its required to add these entries into test results.
    			testResults = append(testResults, result{dir, entries})
    			t.Fatalf("Unable to create file, %s", err)
    		}
    		entries = append(entries, name)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    	errs := g.Wait()
    
    	// Do not need to undo partial successful operation since those will be cleaned up
    	// in 24hrs via multipart cleaner, never rename() back to `.minio.sys/tmp` as there
    	// is no way to clean them.
    
    	// We can safely allow RenameFile errors up to len(er.getDisks()) - writeQuorum
    	// otherwise return failure. Cleanup successful renames.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  5. docs/site-replication/run-ssec-object-replication-with-compression.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    
    	exit 1
    }
    
    cleanup() {
    	echo -n "Cleaning up instances of MinIO ..."
    	pkill minio || sudo pkill minio
    	pkill -9 minio || sudo pkill -9 minio
    	rm -rf /tmp/minio{1,2}
    	echo "done"
    }
    
    cleanup
    
    export MINIO_CI_CD=1
    export MINIO_BROWSER=off
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    		})
    	}
    
    	for _, rule := range lc.FilterRules(obj) {
    		if obj.IsLatest && rule.Expiration.DeleteAll.val {
    			if !rule.Expiration.IsDaysNull() {
    				// Specifying the Days tag will automatically perform all versions cleanup
    				// once the latest object is old enough to satisfy the age criteria.
    				// This is a MinIO only extension.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. docs/site-replication/run-sse-kms-object-replication.sh

    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    
    	exit 1
    }
    
    cleanup() {
    	echo -n "Cleaning up instances of MinIO ..."
    	pkill -9 minio || sudo pkill -9 minio
    	pkill -9 kes || sudo pkill -9 kes
    	rm -rf ${PWD}/keys
    	rm -rf /tmp/minio{1,2}
    	echo "done"
    }
    
    cleanup
    
    export MINIO_CI_CD=1
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-oidc.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    	echo "minio3 ============"
    	cat /tmp/minio3_1.log
    
    	exit 1
    }
    
    cleanup() {
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/minio{1,2,3}
    }
    
    cleanup
    
    unset MINIO_KMS_KES_CERT_FILE
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. cmd/erasure-sets.go

    	}
    
    	wg.Wait()
    
    	// start cleanup stale uploads go-routine.
    	go s.cleanupStaleUploads(ctx)
    
    	// start cleanup of deleted objects.
    	go s.cleanupDeletedObjects(ctx)
    
    	// Start the disk monitoring and connect routine.
    	if !globalIsTesting {
    		go s.monitorAndConnectEndpoints(ctx, defaultMonitorConnectEndpointInterval)
    	}
    
    	return s, nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  10. internal/logger/logonce.go

    		// if errors are equal do not log.
    		prev.Count++
    		l.IDMap[id] = prev
    		shouldLog = false
    	}
    	l.Unlock()
    
    	if shouldLog {
    		logIf(ctx, subsystem, err, errKind...)
    	}
    }
    
    // Cleanup the map every one hour so that the log message is printed again for the user to notice.
    func (l *logOnceType) cleanupRoutine() {
    	for {
    		time.Sleep(time.Hour)
    
    		l.Lock()
    		l.IDMap = make(map[string]onceErr)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top