Code

Opened 5 years ago

Closed 4 years ago

#11955 closed (fixed)

resetting an app appears to touch all configured dbs not just those that app uses

Reported by: kthhrv Owned by: nobody
Component: Core (Management commands) Version: soc2009/multidb
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

resetting an app appears to touch all configured dbs not just those the app uses.
it also tries to write to all dbs even when all the models for that db are marked managed=False

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by kthhrv

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from resetting an app appears to touch all configured dbs not just that app uses to resetting an app appears to touch all configured dbs not just those that app uses

comment:2 Changed 4 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

I'm fairly sure that this problem has been resolved by the change to the way the management commands interact with multidb setups.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.