storj/satellite/metabase
JT Olio da9ca0c650 testplanet/satellite: reduce the number of places default values need to be configured
Satellites set their configuration values to default values using
cfgstruct, however, it turns out our tests don't test these values
at all! Instead, they have a completely separate definition system
that is easy to forget about.

As is to be expected, these values have drifted, and it appears
in a few cases test planet is testing unreasonable values that we
won't see in production, or perhaps worse, features enabled in
production were missed and weren't enabled in testplanet.

This change makes it so all values are configured the same,
systematic way, so it's easy to see when test values are different
than dev values or release values, and it's less hard to forget
to enable features in testplanet.

In terms of reviewing, this change should be actually fairly
easy to review, considering private/testplanet/satellite.go keeps
the current config system and the new one and confirms that they
result in identical configurations, so you can be certain that
nothing was missed and the config is all correct.
You can also check the config lock to see what actual config
values changed.

Change-Id: I6715d0794887f577e21742afcf56fd2b9d12170e
2021-06-01 22:14:17 +00:00
..
metabasetest satellite/metabase: add iteration over segments 2021-05-26 09:59:33 +00:00
metaloop testplanet/satellite: reduce the number of places default values need to be configured 2021-06-01 22:14:17 +00:00
segmentloop testplanet/satellite: reduce the number of places default values need to be configured 2021-06-01 22:14:17 +00:00
alias_test.go ci: fix lint errors 2021-05-17 13:37:31 +00:00
alias.go satellite/metabase: drop alias migration code 2021-05-07 12:13:28 +03:00
aliascache_test.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
aliascache.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
aliaspiece_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
aliaspiece.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
bench_expired_test.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
bench_test.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
commit_object_test.go satellite/metainfo: fix setting object ZombieDeletionDeadline 2021-05-11 07:26:42 +00:00
commit_object.go private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00
commit_test.go satellite/metainfo: fix setting object ZombieDeletionDeadline 2021-05-11 07:26:42 +00:00
commit.go ci: fix lint errors 2021-05-17 13:37:31 +00:00
common_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
common.go satellite/{metabase,metainfo}: use ObjectStream as argument 2021-05-04 15:30:59 +00:00
consts_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
db_test.go satellite/metabase: drop alias migration code 2021-05-07 12:13:28 +03:00
db.go satellite/metainfo: remove MetabaseDB interface 2021-05-13 13:22:14 +00:00
delete_bucket_test.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
delete_bucket.go satellite/{metabase,satellitedb}: deduplicate AS OF SYSTEM TIME code 2021-05-11 12:40:36 +03:00
delete_objects_test.go satellite/metainfo: fix setting object ZombieDeletionDeadline 2021-05-11 07:26:42 +00:00
delete_objects.go satellite/metabase: use pgxutil.Conn helper 2021-05-25 05:56:35 +00:00
delete_part_test.go satellite/metabase: add DeletePart method 2021-05-11 22:45:43 +02:00
delete_part.go satellite/metabase: add DeletePart method 2021-05-11 22:45:43 +02:00
delete_test.go satellite/metainfo: fix setting object ZombieDeletionDeadline 2021-05-11 07:26:42 +00:00
delete.go satellite/{metabase,satellitedb}: deduplicate AS OF SYSTEM TIME code 2021-05-11 12:40:36 +03:00
encoding.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
get_test.go satellite/metainfo: fix setting object ZombieDeletionDeadline 2021-05-11 07:26:42 +00:00
get.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
iterator_test.go satellite/metainfo: fix setting object ZombieDeletionDeadline 2021-05-11 07:26:42 +00:00
iterator_util_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
iterator.go private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00
list_segments_test.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
list_segments.go private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00
list.go satellite/metainfo: fix setting object ZombieDeletionDeadline 2021-05-11 07:26:42 +00:00
loop_test.go satellite/metabase: add iteration over segments 2021-05-26 09:59:33 +00:00
loop.go satellite/metabase: add iteration over segments 2021-05-26 09:59:33 +00:00
raw.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
streamstat_test.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
streamstat.go private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00
update_test.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
update.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
util.go private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00