Skip to content

Commit

Permalink
fix(backup): fix restore order (#18423)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwang28 authored Sep 5, 2024
1 parent 0134191 commit 79ba869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/src/backup_restore/restore_impl/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ impl Writer<MetadataV2> for WriterModelV2ToMetaStoreV2 {
insert_models(metadata.workers.clone(), db).await?;
insert_models(metadata.worker_properties.clone(), db).await?;
insert_models(metadata.users.clone(), db).await?;
insert_models(metadata.user_privileges.clone(), db).await?;
insert_models(metadata.objects.clone(), db).await?;
insert_models(metadata.user_privileges.clone(), db).await?;
insert_models(metadata.object_dependencies.clone(), db).await?;
insert_models(metadata.databases.clone(), db).await?;
insert_models(metadata.schemas.clone(), db).await?;
Expand Down

0 comments on commit 79ba869

Please sign in to comment.