Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for loadSiteResyncMetadata (0.16 sec)

  1. cmd/site-replication-utils.go

    	if err != nil {
    		return err
    	}
    	if !info.Enabled {
    		return nil
    	}
    	for _, peer := range info.Sites {
    		if peer.DeploymentID == globalDeploymentID() {
    			continue
    		}
    		rs, err := loadSiteResyncMetadata(ctx, objAPI, peer.DeploymentID)
    		if err != nil {
    			return err
    		}
    		sm.Lock()
    		if _, ok := sm.peerResyncMap[peer.DeploymentID]; !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    		s.BucketStatuses[bi.Name] = ResyncPending
    	}
    	s.ResyncID = mustGetUUID()
    	s.StartTime = now
    	s.LastUpdate = now
    	return s
    }
    
    // load site resync metadata from disk
    func loadSiteResyncMetadata(ctx context.Context, objAPI ObjectLayer, dID string) (rs SiteResyncStatus, e error) {
    	data, err := readConfig(GlobalContext, objAPI, getSRResyncFilePath(dID))
    	if err != nil {
    		return rs, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top