Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for failed (0.58 sec)

  1. internal/bucket/replication/datatypes.go

    	// Failed - replication failed.
    	Failed StatusType = "FAILED"
    
    	// Replica - this is a replica.
    	Replica StatusType = "REPLICA"
    )
    
    // String returns string representation of status
    func (s StatusType) String() string {
    	return string(s)
    }
    
    // Empty returns true if this status is not set
    func (s StatusType) Empty() bool {
    	return string(s) == ""
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. cmd/site-replication-metrics.go

    	ReplicatedSize int64 `json:"replicatedSize"`
    	// Total number of completed operations
    	ReplicatedCount int64 `json:"replicatedCount"`
    	// Failed captures replication errors in various time windows
    
    	Failed madmin.TimedErrStats `json:"failed,omitempty"`
    
    	XferStats map[RMetricName]XferStats `json:"transferSummary"`
    }
    
    // SRMetricsSummary captures summary of replication counts across buckets on site
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-decom.go

    		if err != nil {
    			decomLogIf(ctx, err)
    			failed = true
    		}
    	}
    
    	if failed {
    		// Decommission failed indicate as such.
    		decomLogIf(GlobalContext, z.DecommissionFailed(dctx, idx))
    	} else {
    		// Complete the decommission..
    		decomLogIf(GlobalContext, z.CompleteDecommission(dctx, idx))
    	}
    }
    
    func (z *erasureServerPools) IsSuspended(idx int) bool {
    	z.poolMetaMutex.RLock()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  4. cmd/object-api-multipart_test.go

    		// Failed as expected, but does it fail for the expected reason.
    		if actualErr != nil && !testCase.shouldPass {
    			if testCase.expectedError.Error() != actualErr.Error() {
    				t.Errorf("Test %d: %s: Expected to fail with error \"%s\", but instead failed with error \"%s\" instead.", i+1, instanceType, testCase.expectedError.Error(), actualErr.Error())
    			}
    		}
    		// Test passes as expected, but the output values are verified for correctness here.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  5. internal/auth/credentials_test.go

    		}
    	}
    }
    
    func TestGetNewCredentials(t *testing.T) {
    	cred, err := GetNewCredentials()
    	if err != nil {
    		t.Fatalf("Failed to get a new credential")
    	}
    	if !cred.IsValid() {
    		t.Fatalf("Failed to get new valid credential")
    	}
    	if len(cred.AccessKey) != accessKeyMaxLen {
    		t.Fatalf("access key length: expected: %v, got: %v", secretKeyMaxLen, len(cred.AccessKey))
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. cmd/post-policy_test.go

    			ignoreContentLength: true,
    		},
    		// Failed with entity too small.
    		{
    			objectName:          "test",
    			data:                bytes.Repeat([]byte("a"), 1023),
    			expectedRespStatus:  http.StatusBadRequest,
    			accessKey:           credentials.AccessKey,
    			secretKey:           credentials.SecretKey,
    			malformedBody:       false,
    			ignoreContentLength: false,
    		},
    		// Failed with entity too large.
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  7. cmd/data-scanner_test.go

    					NewerNoncurrentVersions: 1,
    				},
    			},
    		},
    	}
    	lcXML, err := xml.Marshal(lc)
    	if err != nil {
    		t.Fatalf("Failed to marshal lifecycle config: %v", err)
    	}
    	vcfg := versioning.Versioning{
    		Status: "Enabled",
    	}
    	vcfgXML, err := xml.Marshal(vcfg)
    	if err != nil {
    		t.Fatalf("Failed to marshal versioning config: %v", err)
    	}
    
    	bucket := "bucket"
    	obj := "obj-1"
    	now := time.Now()
    	meta := BucketMetadata{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    	lastMinFailedCount  MetricName = "last_minute_failed_count"
    	lastMinFailedBytes  MetricName = "last_minute_failed_bytes"
    	lastHourFailedCount MetricName = "last_hour_failed_count"
    	lastHourFailedBytes MetricName = "last_hour_failed_bytes"
    	totalFailedCount    MetricName = "total_failed_count"
    	totalFailedBytes    MetricName = "total_failed_bytes"
    
    	currActiveWorkers  MetricName = "current_active_workers"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  9. cmd/bucket-stats_gen.go

    				return
    			}
    		case "FailStats":
    			err = z.FailStats.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "FailStats")
    				return
    			}
    		case "Failed":
    			err = z.Failed.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Failed")
    				return
    			}
    		case "ReplicatedCount":
    			z.ReplicatedCount, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicatedCount")
    				return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  10. cmd/site-replication-metrics_gen.go

    	// string "Failed"
    	o = append(o, 0xa6, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64)
    	o, err = z.Failed.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "Failed")
    		return
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *SRMetric) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
Back to top