diff --git a/satellite/metabase/common.go b/satellite/metabase/common.go index 0876c2855..8ef33e6a6 100644 --- a/satellite/metabase/common.go +++ b/satellite/metabase/common.go @@ -388,7 +388,7 @@ const ( // Pending means that the object is being uploaded or that the client failed during upload. // The failed upload may be continued in the future. Pending = ObjectStatus(1) - // Deleting used to one of the stages, which is not in use anymore. + // Committing used to one of the stages, which is not in use anymore. _ = ObjectStatus(2) // CommittedUnversioned means that the object is finished and should be visible for general listing. CommittedUnversioned = ObjectStatus(3) diff --git a/satellite/metabase/pending_objects_iterator_test.go b/satellite/metabase/pending_objects_iterator_test.go index 3a64c0339..542e61299 100644 --- a/satellite/metabase/pending_objects_iterator_test.go +++ b/satellite/metabase/pending_objects_iterator_test.go @@ -502,7 +502,7 @@ func TestIteratePendingObjects(t *testing.T) { IncludeSystemMetadata: true, Prefix: "b/", - Cursor: metabase.PendingObjectsCursor{Key: "b/2", StreamID: uuid.UUID{1}}, + Cursor: metabase.PendingObjectsCursor{Key: "b/2", StreamID: uuid.UUID{15: 1}}, }, Result: pendingWithoutPrefix("b/", objects["b/2"], @@ -531,7 +531,7 @@ func TestIteratePendingObjects(t *testing.T) { IncludeSystemMetadata: true, Prefix: "c/", - Cursor: metabase.PendingObjectsCursor{Key: "c/", StreamID: uuid.UUID{1}}, + Cursor: metabase.PendingObjectsCursor{Key: "c/", StreamID: uuid.UUID{15: 1}}, }, Result: pendingWithoutPrefix("c/", objects["c/"],