Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getMRF (0.13 sec)

  1. cmd/notification.go

    	}
    	wg.Add(1)
    	go func(ch chan madmin.ReplicationMRF) error {
    		defer wg.Done()
    		if node != "all" && node != globalLocalNodeName {
    			return nil
    		}
    		mCh, err := globalReplicationPool.Get().getMRF(ctx, bucket)
    		if err != nil {
    			return err
    		}
    		for e := range mCh {
    			select {
    			case <-ctx.Done():
    				return err
    			case mrfCh <- e:
    			}
    		}
    		return nil
    	}(mrfCh)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	bucketName := vars[peerRESTBucket]
    	ctx := newContext(r, w, "GetReplicationMRF")
    	re, err := globalReplicationPool.Get().getMRF(ctx, bucketName)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	enc := gob.NewEncoder(w)
    
    	for m := range re {
    		if err := enc.Encode(m); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    		}
    	}()
    
    	return nil
    }
    
    func (p *ReplicationPool) initialized() bool {
    	return !(p == nil || p.objLayer == nil)
    }
    
    // getMRF returns MRF entries for this node.
    func (p *ReplicationPool) getMRF(ctx context.Context, bucket string) (ch <-chan madmin.ReplicationMRF, err error) {
    	mrfRec, err := p.loadMRF()
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top