- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for DeleteType (0.06 sec)
-
cmd/metacache-entries_test.go
{header: xlMetaV2VersionHeader{ VersionID: [16]byte{7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7}, ModTime: baseTime.Add(90 * time.Minute).UnixNano(), Signature: [4]byte{6, 1, 1, 1}, Type: DeleteType, Flags: 0, }}, }, }, // Delete marker and version from 1 9: { versions: []xlMetaV2ShallowVersion{ {header: xlMetaV2VersionHeader{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 31.6K bytes - Viewed (0) -
cni/pkg/repair/repair_test.go
}, wantPods: []*corev1.Pod{workingPod, workingPodDiedPreviously}, wantErr: false, wantCount: 1, wantTags: map[string]string{"result": resultSuccess, "type": deleteType}, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { mt := monitortest.New(t) tt.config.DeletePods = true c, err := NewRepairController(tt.client, tt.config)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 10.6K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
} const ( ReasonDeleteBrokenPod = "DeleteBrokenPod" ReasonLabelBrokenPod = "LabelBrokenPod" ) func (c *Controller) deleteBrokenPod(pod *corev1.Pod) error { m := podsRepaired.With(typeLabel.Value(deleteType)) repairLog.Infof("Pod detected as broken, deleting: %s/%s", pod.Namespace, pod.Name) // Make sure we are deleting what we think we are... preconditions := &metav1.Preconditions{ UID: &pod.UID,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 10.4K bytes - Viewed (0) -
cmd/metacache-entries.go
func (e *metaCacheEntry) isLatestDeletemarker() bool { if e.cached != nil { if len(e.cached.versions) == 0 { return true } return e.cached.versions[0].header.Type == DeleteType } if !isXL2V1Format(e.metadata) { return false } if meta, _, err := isIndexedMetaV2(e.metadata); meta != nil { return meta.IsLatestDeleteMarker() } else if err != nil { return true }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 24.1K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 36.4K bytes - Viewed (0)