Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 104 for stop (0.13 sec)

  1. cmd/background-newdisks-heal-ops.go

    func monitorLocalDisksAndHeal(ctx context.Context, z *erasureServerPools) {
    	// Perform automatic disk healing when a disk is replaced locally.
    	diskCheckTimer := time.NewTimer(defaultMonitorNewDiskInterval)
    	defer diskCheckTimer.Stop()
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-diskCheckTimer.C:
    			healDisks := globalBackgroundHealState.getHealLocalDiskEndpoints()
    			if len(healDisks) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    		// if object upload fails stop the test.
    		if err != nil {
    			t.Fatalf("Put Object case %d:  Error uploading object: <ERROR> %v", i+1, err)
    		}
    	}
    
    	// test cases with inputs and expected result for HeadObject.
    	testCases := []struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. cmd/notification.go

    		if nErr.Err != nil {
    			peersLogOnceIf(logger.SetReqInfo(ctx, reqInfo), nErr.Err, nErr.Host.String())
    		}
    	}
    }
    
    // StopRebalance notifies all MinIO nodes to signal any ongoing rebalance
    // goroutine to stop.
    func (sys *NotificationSys) StopRebalance(ctx context.Context) {
    	ng := WithNPeers(len(sys.peerClients))
    	for idx, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		client := client
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    }
    
    // keep job metrics for some time after the job is completed
    // in-case some one wants to look at the older results.
    func (m *batchJobMetrics) purgeJobMetrics() {
    	t := time.NewTicker(6 * time.Hour)
    	defer t.Stop()
    
    	for {
    		select {
    		case <-GlobalContext.Done():
    			return
    		case <-t.C:
    			var toDeleteJobMetrics []string
    			m.RLock()
    			for id, metrics := range m.metrics {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. cmd/server-main.go

    				warnings = append(warnings, color.YellowBold("- Initializing the config subsystem is taking longer than 5 minutes. Please set '_MINIO_DISABLE_API_FREEZE_ON_BOOT=true' to not freeze the APIs"))
    			})
    			defer t.Stop()
    		}
    
    		// Initialize data scanner.
    		bootstrapTrace("initDataScanner", func() {
    			if v := env.Get("_MINIO_SCANNER", config.EnableOn); v == config.EnableOn {
    				initDataScanner(GlobalContext, newObject)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (2)
  6. cmd/xl-storage-format-v2.go

    	var nVersions int // captures all non-free versions
    
    	// Our result
    	merged = make([]xlMetaV2ShallowVersion, 0, len(versions[0]))
    	tops := make([]xlMetaV2ShallowVersion, len(versions))
    	for {
    		// Step 1 create slice with all top versions.
    		tops = tops[:0]
    		var topSig xlMetaV2VersionHeader
    		consistent := true // Are all signatures consistent (shortcut)
    		for _, vers := range versions {
    			if len(vers) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  7. internal/s3select/sql/funceval.go

    	}
    }
    
    func boolCast(v *Value) (b bool, _ error) {
    	sToB := func(s string) (bool, error) {
    		switch s {
    		case "true":
    			return true, nil
    		case "false":
    			return false, nil
    		default:
    			return false, errCastFailure("cannot cast to Bool")
    		}
    	}
    	switch x := v.value.(type) {
    	case bool:
    		return x, nil
    	case string:
    		return sToB(strings.ToLower(x))
    	case []byte:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  8. cmd/routers.go

    }
    
    // configureServer handler returns final handler for the http server.
    func configureServerHandler(endpointServerPools EndpointServerPools) (http.Handler, error) {
    	// Initialize router. `SkipClean(true)` stops minio/mux from
    	// normalizing URL path minio/minio#3256
    	router := mux.NewRouter().SkipClean(true).UseEncodedPath()
    
    	// Initialize distributed NS lock.
    	if globalIsDistErasure {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  9. internal/kms/config.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    // Top level config constants for KMS
    const (
    	EnvKMSSecretKey        = "MINIO_KMS_SECRET_KEY"
    	EnvKMSSecretKeyFile    = "MINIO_KMS_SECRET_KEY_FILE"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 07:42:50 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. docs/kms/IAM.md

       The new KMS-based approach can use a key derivation function that is orders of magnitudes
       cheaper w.r.t. memory and CPU.
    - Root credentials can now be changed easily. Before, a two-step process was required to
       change the cluster root credentials since they were used to en/decrypt the IAM data.
       So, both - the old and new credentials - had to be present at the same time during a rotation
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top