Thomas Vander Wal
10/09/2022, 5:20 AMtime="2022-10-09T05:09:17Z" level=info msg="Migrated 100000 entries" func="pkg/logging.(*logrusEntryWrapper).Infof" file="build/pkg/logging/logger.go:246" created_at="2022-10-09 05:09:03.593783788 +0000 UTC" db_schema_version=1 lakefs_version=0.80.0 package_name=graveler
time="2022-10-09T05:09:27Z" level=info msg="Migrated 200000 entries" func="pkg/logging.(*logrusEntryWrapper).Infof" file="build/pkg/logging/logger.go:246" created_at="2022-10-09 05:09:03.593783788 +0000 UTC" db_schema_version=1 lakefs_version=0.80.0 package_name=graveler
time="2022-10-09T05:09:38Z" level=info msg="Migrated 300000 entries" func="pkg/logging.(*logrusEntryWrapper).Infof" file="build/pkg/logging/logger.go:246" created_at="2022-10-09 05:09:03.593783788 +0000 UTC" db_schema_version=1 lakefs_version=0.80.0 package_name=graveler
time="2022-10-09T05:09:49Z" level=info msg="Migrated 400000 entries" func="pkg/logging.(*logrusEntryWrapper).Infof" file="build/pkg/logging/logger.go:246" created_at="2022-10-09 05:09:03.593783788 +0000 UTC" db_schema_version=1 lakefs_version=0.80.0 package_name=graveler
time="2022-10-09T05:10:00Z" level=info msg="Successfully migrated package to KV" func=pkg/kv/postgres.Migrate.func1 file="build/pkg/kv/postgres/migrate.go:129" pkg_id=graveler
time="2022-10-09T05:10:00Z" level=info msg="graveler Package Migration took 56.506001978s" func="pkg/logging.(*logrusEntryWrapper).Infof" file="build/pkg/logging/logger.go:246" TempDir=/tmp/kv_migrate_4110592530
time="2022-10-09T05:10:00Z" level=info msg="KV Migration took 56.506086254s" func="pkg/logging.(*logrusEntryWrapper).Infof" file="build/pkg/logging/logger.go:246" TempDir=/tmp/kv_migrate_4110592530
Failed to setup DB: 1 error occurred:
* failed migration on package multiparts: scany: scan row into struct fields: can't scan into dest[5]: cannot scan null into *string
Yoni Augarten
10/09/2022, 5:27 AMThomas Vander Wal
10/09/2022, 5:28 AMYoni Augarten
10/09/2022, 5:29 AMThomas Vander Wal
10/09/2022, 5:45 AMYoni Augarten
10/09/2022, 5:53 AMThomas Vander Wal
10/09/2022, 5:53 AMYoni Augarten
10/09/2022, 5:54 AMThomas Vander Wal
10/09/2022, 6:13 AMYoni Augarten
10/09/2022, 6:16 AMDELETE from gateway_multiparts WHERE creation_date < '2022-09-01';
But let's ask @Itai Admi if this solution makes sense.Itai Admi
10/09/2022, 7:58 AMThomas Vander Wal
10/09/2022, 7:57 PM0.80.2
in the migrate job did the trick. I appreciate the help 🙂Yoni Augarten
10/09/2022, 8:00 PM