Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ReloadSiteReplicationConfig (0.17 sec)

  1. cmd/notification.go

    		wg.Wait()
    		xioutil.SafeClose(ch)
    	}(&wg, ch)
    
    	return ch
    }
    
    // ReloadSiteReplicationConfig - tells all peer minio nodes to reload the
    // site-replication configuration.
    func (sys *NotificationSys) ReloadSiteReplicationConfig(ctx context.Context) []error {
    	errs := make([]error, len(sys.allPeerClients))
    	var wg sync.WaitGroup
    	for index := range sys.peerClients {
    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-client.go

    	_, err := loadGroupRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTGroup: group,
    	}))
    	return err
    }
    
    func (client *peerRESTClient) ReloadSiteReplicationConfig(ctx context.Context) error {
    	conn := client.gridConn()
    	if conn == nil {
    		return nil
    	}
    
    	_, err := reloadSiteReplicationConfigRPC.Call(ctx, conn, grid.NewMSS())
    	return err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	if err = saveConfig(ctx, objAPI, getSRStateFilePath(), buf); err != nil {
    		return err
    	}
    
    	for _, err := range globalNotificationSys.ReloadSiteReplicationConfig(ctx) {
    		replLogIf(ctx, err)
    	}
    
    	c.Lock()
    	defer c.Unlock()
    	c.state = state
    	c.enabled = len(c.state.Peers) != 0
    	return nil
    }
    
    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