storj/satellite/metainfo
Egon Elbre d91ee440ba satellite/metabase: use constant for pending version
Currently it wasn't quite clear what was a stub version and an actual
version. Use a PendingVersion constant to make this distinction clear.

Also use PendingVersion = NextVersion = 0, that way it's clearer that
the version hasn't been yet determined. DefaultVersion = 1 might imply
that the object will get that version once commited, however that will
entirely depend on whether use-pending-objects is used or versioning is
enabled or not.

Change-Id: I21398141f97035c48c778f23b542266b834c44f1
2023-09-12 18:01:12 +00:00
..
expireddeletion satellite/{metainfo,metabase}: optimize expired/zombie objects deletion 2023-06-09 11:22:46 +00:00
pointerverification satellite/metabase: add piece size calculation to segment 2023-02-22 11:04:02 +00:00
attribution_test.go satellite/metainfo: set user_agent in bucket_metainfos on bucket recreation 2023-07-12 21:48:05 +00:00
attribution.go satellite/metainfo: prevent internal DB errors in Public API 2023-09-12 15:12:44 +00:00
batch_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
batch.go satellite: implement metainfo.GetBucketLocation endpoint 2023-08-28 13:48:07 +02:00
config_test.go satellite/metainfo: enable UsePendingObjectsTable by project 2023-08-30 15:44:29 +02:00
config.go satellite/metainfo: enable UsePendingObjectsTable by project 2023-08-30 15:44:29 +02:00
endpoint_bucket_test.go satellite/metainfo: tests for new GetBucketLocation method 2023-08-28 11:49:23 +00:00
endpoint_bucket.go satellite/metainfo: prevent internal DB errors in Public API 2023-09-12 15:12:44 +00:00
endpoint_internal_test.go satellite/metainfo: hardcode the prefix 2023-05-04 17:06:51 +03:00
endpoint_object_test.go satellite/metainfo: support getting specific object version 2023-09-12 14:27:40 +00:00
endpoint_object.go satellite/metabase: use constant for pending version 2023-09-12 18:01:12 +00:00
endpoint_segment_test.go satellite/metainfo: prevent internal DB errors in Public API 2023-09-12 15:12:44 +00:00
endpoint_segment.go satellite/metainfo: prevent internal DB errors in Public API 2023-09-12 15:12:44 +00:00
endpoint_test.go satellite/metainfo: tests for new GetBucketLocation method 2023-08-28 11:49:23 +00:00
endpoint.go satellite/metainfo: prevent internal DB errors in Public API 2023-09-12 15:12:44 +00:00
signing.go satellite/metainfo: use deterministic signing for satStreamID 2021-01-19 15:56:29 +00:00
validation_test.go satellite: use evenkit instead of evenstat/top endpoint 2022-10-24 11:45:12 +02:00
validation.go satellite/metainfo: do full bucket validation only on create 2023-07-17 16:15:33 +02:00
version_collector_test.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
version_collector.go satellite/metainfo: add storj-downloader as a known user agent 2022-11-17 16:03:54 +00:00