Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for resync (0.21 sec)

  1. cmd/bucket-replication.go

    		Path:      path,
    		Error:     errStr,
    	}
    }
    
    // delete resync metadata from replication resync state in memory
    func (p *ReplicationPool) deleteResyncMetadata(ctx context.Context, bucket string) {
    	if p == nil {
    		return
    	}
    	p.resyncer.Lock()
    	delete(p.resyncer.statusMap, bucket)
    	defer p.resyncer.Unlock()
    
    	globalSiteResyncMetrics.deleteBucket(bucket)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  2. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  3. cmd/admin-router.go

    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/site-replication/peer/remove").HandlerFunc(adminMiddleware(adminAPI.SRPeerRemove))
    		adminRouter.Methods(http.MethodPut).Path(adminVersion+"/site-replication/resync/op").HandlerFunc(adminMiddleware(adminAPI.SiteReplicationResyncOp)).Queries("operation", "{operation:.*}")
    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)
  4. cmd/globals.go

    	// Allocated etcd endpoint for config and bucket DNS.
    	globalEtcdClient *etcd.Client
    
    	// Cluster replication manager.
    	globalSiteReplicationSys SiteReplicationSys
    
    	// Cluster replication resync metrics
    	globalSiteResyncMetrics *siteResyncMetrics
    
    	// Is set to true when Bucket federation is requested
    	// and is 'true' when etcdConfig.PathPrefix is empty
    	globalBucketFederation bool
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. cmd/admin-handlers-site-replication.go

    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    }
    
    // SiteReplicationResyncOp - PUT /minio/admin/v3/site-replication/resync/op
    func (a adminAPIHandlers) SiteReplicationResyncOp(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.SiteReplicationResyncAction)
    	if objectAPI == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. cmd/server-main.go

    		// Initialize bucket metadata sub-system.
    		bootstrapTrace("globalBucketMetadataSys.Init", func() {
    			globalBucketMetadataSys.Init(GlobalContext, buckets, newObject)
    		})
    
    		// initialize replication resync state.
    		bootstrapTrace("initResync", func() {
    			globalReplicationPool.initResync(GlobalContext, buckets, newObject)
    		})
    
    		// Initialize site replication manager after bucket metadata
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  7. internal/event/targetlist.go

    	eventsSkipped     atomic.Int64
    	eventsErrorsTotal atomic.Int64
    
    	sync.RWMutex
    	targets map[TargetID]Target
    	queue   chan asyncEvent
    	ctx     context.Context
    
    	statLock    sync.RWMutex
    	targetStats map[TargetID]targetStat
    }
    
    type targetStat struct {
    	// The number of concurrent async Send calls per targets
    	currentSendCalls int64
    	// The number of total events per target
    	totalEvents int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  8. cmd/metacache-server-pool.go

    // The result channel is closed when no more results are expected.
    func (z *erasureServerPools) listMerged(ctx context.Context, o listPathOptions, results chan<- metaCacheEntry) error {
    	var mu sync.Mutex
    	var wg sync.WaitGroup
    	var errs []error
    	allAtEOF := true
    	var inputs []chan metaCacheEntry
    	mu.Lock()
    	// Ask all sets and merge entries.
    	listCtx, cancelList := context.WithCancel(ctx)
    	defer cancelList()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  9. internal/grid/muxclient.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package grid
    
    import (
    	"context"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/zeebo/xxh3"
    )
    
    // muxClient is a stateful connection to a remote.
    type muxClient struct {
    	MuxID            uint64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. cmd/common-main.go

    		globalMinioEndpointURL = u
    	}
    
    	globalFSOSync, err = config.ParseBool(env.Get(config.EnvFSOSync, config.EnableOff))
    	if err != nil {
    		logger.Fatal(config.ErrInvalidFSOSyncValue(err), "Invalid MINIO_FS_OSYNC value in environment variable")
    	}
    
    	rootDiskSize := env.Get(config.EnvRootDriveThresholdSize, "")
    	if rootDiskSize == "" {
    		rootDiskSize = env.Get(config.EnvRootDiskThresholdSize, "")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
Back to top