Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#32422 closed Bug (duplicate)

Error occurs when migrate db: relation is not existed.

Reported by: guhaibing Owned by: nobody
Component: Migrations Version: 2.0
Severity: Normal Keywords: migrate relation
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

We migrated db when the docker container start,but database closed connection before migrate finished becasue of some known issues。
Then we try aganin, and django report error: relation is not existed。
I think there was some data lost when the database error,and want to know how to avoid this error。
Can we add database transaction althrough the migrate proccess? All success or All fail.

Change History (7)

comment:1 by Chris Jerdonek, 4 years ago

This looks like a copy-paste of #32415, and by the same person.

in reply to:  1 comment:2 by guhaibing, 4 years ago

That was closed by someone.

Replying to Chris Jerdonek:

This looks like a copy-paste of #32415, and by the same person.

comment:3 by Chris Jerdonek, 4 years ago

That was closed by someone.

It was. Did you read the reason why? If someone closes your issue, you shouldn't recreate it. If you disagree with them, you should reply in the original issue.

comment:4 by Chris Jerdonek, 4 years ago

Resolution: invalid
Status: newclosed

See #32415 for why this is invalid.

in reply to:  3 comment:5 by guhaibing, 4 years ago

He only said don't, but no how.
English is hard to me, I spend 2 days to find the entry of trace report, but no result.
Can you give the entry?Thanks.

Replying to Chris Jerdonek:

That was closed by someone.

It was. Did you read the reason why? If someone closes your issue, you shouldn't recreate it. If you disagree with them, you should reply in the original issue.

comment:6 by Chris Jerdonek, 4 years ago

He said if you need help, this isn't the place to ask. He said you should read this page if you need help:
https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels
It has a link at the end.

comment:7 by Mariusz Felisiak, 4 years ago

Resolution: invalidduplicate

Duplicate of #32415.

Note: See TracTickets for help on using tickets.
Back to Top