Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 415 for Resync (0.09 sec)

  1. cmd/site-replication-utils.go

    const (
    	siteResyncPrefix = bucketMetaPrefix + "/site-replication/resync"
    )
    
    type resyncState struct {
    	resyncID  string
    	LastSaved time.Time
    }
    
    //msgp:ignore siteResyncMetrics
    type siteResyncMetrics struct {
    	sync.RWMutex
    	// resyncStatus maps resync ID to resync status for peer
    	resyncStatus map[string]SiteResyncStatus
    	// map peer deployment ID to resync ID
    	peerResyncMap map[string]resyncState
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils.go

    }
    
    // ResyncStatusType status of resync operation
    type ResyncStatusType int
    
    const (
    	// NoResync - no resync in progress
    	NoResync ResyncStatusType = iota
    	// ResyncPending - resync pending
    	ResyncPending
    	// ResyncCanceled - resync canceled
    	ResyncCanceled
    	// ResyncStarted -  resync in progress
    	ResyncStarted
    	// ResyncCompleted -  resync finished
    	ResyncCompleted
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26K bytes
    - Viewed (0)
  3. docs/bucket/replication/DESIGN.md

    replicate objects one at a time so as not to impede server load. Ideally, resync should not be initiated for multiple buckets simultaneously - progress of the syncing can be monitored by looking at `mc replicate resync status alias/bucket --remote-bucket <arn>`. In the event that resync operation failed to replicate some versions, they would be picked up by the healing mechanism in-built as part of the scanner. If the resync operation reports a failed status or in the event of a cluster restart while...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	default:
    		return brs, fmt.Errorf("unexpected resync meta version: %d", brs.Version)
    	}
    	return brs, nil
    }
    
    // save resync status to resync.bin
    func saveResyncStatus(ctx context.Context, bucket string, brs BucketReplicationResyncStatus, objectAPI ObjectLayer) error {
    	data := make([]byte, 4, brs.Msgsize()+4)
    
    	// Initialize the resync meta header.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  5. cmd/bucket-replication_test.go

    	},
    }
    
    func TestReplicationResync(t *testing.T) {
    	ctx := t.Context()
    	for i, test := range replicationConfigTests {
    		if sync := test.rcfg.Resync(ctx, test.info, test.dsc, test.tgtStatuses); sync.mustResync() != test.expectedSync {
    			t.Errorf("Test%d (%s): Resync  got %t , want %t", i+1, test.name, sync.mustResync(), test.expectedSync)
    		}
    	}
    }
    
    var (
    	start                   = UTCNow().AddDate(0, 0, -1)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    		}
    	}
    	return pi, true
    }
    
    // startResync initiates resync of data to peerSite specified. The overall site resync status
    // is maintained in .minio.sys/buckets/site-replication/resync/<deployment-id.meta>, while collecting
    // individual bucket resync status in .minio.sys/buckets/<bucket-name>/replication/resync.bin
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  7. docs/site-replication/run-multi-site-oidc.sh

    	echo "expected 'bucket2' delete and 'newbucket2' creation to have replicated, exiting..."
    	exit_1
    fi
    
    # force a resync after removing all site replication
    ./mc admin replicate rm --all --force minio1
    ./mc rb minio2 --force --dangerous
    ./mc admin replicate add minio1 minio2
    ./mc admin replicate resync start minio1 minio2
    sleep 30
    
    ./mc ls -r --versions minio1/newbucket >/tmp/minio1.txt
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-ldap.sh

    	echo "expected 'bucket2' delete and 'newbucket2' creation to have replicated, exiting..."
    	exit_1
    fi
    
    # force a resync after removing all site replication
    ./mc admin replicate rm --all --force minio1
    ./mc rb minio2 --force --dangerous
    ./mc admin replicate add minio1 minio2
    ./mc admin replicate resync start minio1 minio2
    sleep 30
    
    ./mc ls -r --versions minio1/newbucket >/tmp/minio1.txt
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. docs/site-replication/run-multi-site-minio-idp.sh

    	echo "expected 'bucket2' delete and 'newbucket2' creation to have replicated, exiting..."
    	exit_1
    fi
    
    # force a resync after removing all site replication
    ./mc admin replicate rm --all --force minio1
    ./mc rb minio2 --force --dangerous
    ./mc admin replicate add minio1 minio2
    ./mc admin replicate resync start minio1 minio2
    sleep 30
    
    ./mc ls -r --versions minio1/newbucket >/tmp/minio1.txt
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. cmd/globals.go

    	// Only needed for tracking
    	globalServiceFreezeCnt int32
    	globalServiceFreezeMu  sync.Mutex // Updates.
    
    	// Map of local drives to this node, this is set during server startup,
    	// disk reconnect and mutated by HealFormat. Hold globalLocalDrivesMu to access.
    	globalLocalDrivesMap map[string]StorageAPI
    	globalLocalDrivesMu  sync.RWMutex
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (1)
Back to top