Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ReloadPoolMeta (0.16 sec)

  1. cmd/erasure-server-pool-decom.go

    			z.poolMeta.TrackCurrentBucketObject(idx, bi.Name, entry.name)
    			ok, err := z.poolMeta.updateAfter(ctx, idx, z.serverPools, 30*time.Second)
    			decomLogIf(ctx, err)
    			if ok {
    				globalNotificationSys.ReloadPoolMeta(ctx)
    			}
    			z.poolMetaMutex.Unlock()
    		}
    
    		wk.Take()
    		go func(setIdx int) {
    			defer wk.Give()
    			// We will perpetually retry listing if it fails, since we cannot
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (1)
  2. cmd/notification.go

    	return siteStats
    }
    
    // ReloadPoolMeta reloads on disk updates on pool metadata
    func (sys *NotificationSys) ReloadPoolMeta(ctx context.Context) {
    	ng := WithNPeers(len(sys.peerClients))
    	for idx, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		client := client
    		ng.Go(ctx, func() error {
    			return client.ReloadPoolMeta(ctx)
    		}, idx, *client.host)
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    	}
    	resp, err := updateMetacacheListingRPC.Call(ctx, client.gridConn(), &m)
    	if err != nil || resp == nil {
    		return metacache{}, err
    	}
    	return *resp, nil
    }
    
    func (client *peerRESTClient) ReloadPoolMeta(ctx context.Context) error {
    	conn := client.gridConn()
    	if conn == nil {
    		return nil
    	}
    	_, err := reloadPoolMetaRPC.Call(ctx, conn, grid.NewMSSWith(map[string]string{}))
    	return err
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	pools, ok := objAPI.(*erasureServerPools)
    	if !ok {
    		return
    	}
    
    	if err := pools.ReloadPoolMeta(context.Background()); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    func (s *peerRESTServer) HandlerClearUploadID(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top