Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getClusterMetaInfo (0.13 sec)

  1. cmd/admin-handlers.go

    		return zerr
    	}
    	_, err := io.Copy(zwriter, bytes.NewReader(data))
    	return err
    }
    
    // getClusterMetaInfo gets information of the current cluster and
    // returns it.
    // This is not a critical function, and it is allowed
    // to fail with a ten seconds timeout, returning nil.
    func getClusterMetaInfo(ctx context.Context) []byte {
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil {
    		return nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  2. cmd/notification.go

    	// Initialize a zip writer which will provide a zipped content
    	// of profiling data of all nodes
    	zipWriter := zip.NewWriter(writer)
    	defer zipWriter.Close()
    
    	// Start by embedding cluster info.
    	if b := getClusterMetaInfo(ctx); len(b) > 0 {
    		internalLogIf(ctx, embedFileInZip(zipWriter, "cluster.info", b, 0o600))
    	}
    
    	// Profiles can be quite big, so we limit to max 16 concurrent downloads.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top