Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 389 for to (0.38 sec)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    
    	// execute the request to complete object upload.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// assert the status code of the response.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// constructing http request to delete the bucket.
    	// making an attempt to delete an non-empty bucket.
    	// expected to fail.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object_api_suite_test.go

    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    		if len(result.Objects) != i+1 {
    			t.Errorf("%s: Expected length of objects to be %d, instead found to be %d", instanceType, len(result.Objects), i+1)
    		}
    		if result.IsTruncated {
    			t.Errorf("%s: Expected IsTruncated to be `false`, but instead found it to be `%v`", instanceType, result.IsTruncated)
    		}
    	}
    
    	// check after paging occurs pages work.
    	for i := 6; i <= 10; i++ {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  3. cmd/os-instrumented.go

    }
    
    // Stat captures time taken to call os.Stat
    func Stat(name string) (info os.FileInfo, err error) {
    	defer updateOSMetrics(osMetricStat, name)(err)
    	return os.Stat(name)
    }
    
    // Create captures time taken to call os.Create
    func Create(name string) (f *os.File, err error) {
    	defer updateOSMetrics(osMetricCreate, name)(err)
    	return os.Create(name)
    }
    
    // Fdatasync captures time taken to call Fdatasync
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  4. cmd/globals.go

    	// global Trace system to send HTTP request/response
    	// and Storage/OS calls info to registered listeners.
    	globalTrace = pubsub.New[madmin.TraceInfo, madmin.TraceType](8)
    
    	// global Listen system to send S3 API events to registered listeners
    	globalHTTPListen = pubsub.New[event.Event, pubsub.Mask](0)
    
    	// global console system to send console logs to
    	// registered listeners
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		// is ready to be read.
    		//
    		// This is possible to be lock free because
    		// - xl.meta for inlined objects has already read the data
    		//   into memory, any mutation on xl.meta subsequently is
    		//   inconsequential to the overall read operation.
    		// - xl.meta metadata is still verified for quorum under lock()
    		//   however writing the response doesn't need to serialize
    		//   concurrent writers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. cmd/metrics-v3-cluster-notification.go

    	notificationEventsErrorsTotalMD     = NewCounterMD(notificationEventsErrorsTotal, "Events that were failed to be sent to the targets")
    	notificationEventsSentTotalMD       = NewCounterMD(notificationEventsSentTotal, "Total number of events sent to the targets")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:10:35 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. cmd/erasure-object_test.go

    		t.Fatal(err)
    	}
    
    	// Unzip sample object data to the existing disks
    	err = unzipArchive("testdata/xl-meta-inline-notinline.zip", path)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Try to read the object and check its md5sum
    	gr, err := objLayer.GetObjectNInfo(ctx, "testbucket", "file", nil, nil, ObjectOptions{})
    	if err != nil {
    		t.Fatalf("Expected GetObject to succeed, but failed with %v", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  8. cmd/iam.go

    // parent is derived as a concatenation of the `sub` and `iss` fields. The
    // policies applicable to the STS credential are associated with this "virtual"
    // parent.
    //
    // When a policyName is given to this function, the policy association is
    // created and stored in the IAM store. Thus, it should NOT be given for the
    // role-arn case (because the role-to-policy mapping is separately stored
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  9. cmd/erasure-server-pool-rebalance.go

    // of a rebalance, was expanded can cause z.rebalMeta to be outdated
    // due to a missing new pool. This function tries to handle this
    // scenario, albeit rare it seems to have occurred in the wild.
    //
    // since we do not explicitly disallow it, but it is okay for them
    // expand and then we continue to rebalance.
    func (z *erasureServerPools) updateRebalanceStats(ctx context.Context) error {
    	var ok bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. cmd/tier-journal.go

    			logger.LogIf(ctx, fmt.Errorf("tier-journal: failed to decode journal entry %s", err))
    			break
    		}
    		err = fn(ctx, entry.ObjName, entry.VersionID, entry.TierName)
    		if err != nil && !isErrObjectNotFound(err) {
    			logger.LogIf(ctx, fmt.Errorf("tier-journal: failed to delete transitioned object %s from %s due to %s", entry.ObjName, entry.TierName, err))
    			// We add the entry into the active journal to try again
    			// later.
    			jd.addEntry(entry)
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top