diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2013-09-30 13:05:43 +0800 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2013-09-30 13:05:43 +0800 |
| commit | 9595183d03cfd0d94ae2dd506a3d2b86cf5c74a7 (patch) | |
| tree | acf9e2846cce92c9f01f0f5aa19293d7cedfa021 /tests/force_insert_update | |
| parent | 12ca312e1bc2cab614aed854b4c38dd86fefbdda (diff) | |
Fixed #13724: Corrected routing of write queries involving managers.
Previously, if a database request spanned a related object manager, the
first manager encountered would cause a request to the router, and this
would bind all subsequent queries to the same database returned by the
router. Unfortunately, the first router query would be performed using
a read request to the router, resulting in bad routing information being
used if the subsequent query was actually a write.
This change defers the call to the router until the final query is acutally
made.
It includes a small *BACKWARDS INCOMPATIBILITY* on an edge case - see the
release notes for details.
Thanks to Paul Collins (@paulcollinsiii) for the excellent debugging
work and patch.
Diffstat (limited to 'tests/force_insert_update')
0 files changed, 0 insertions, 0 deletions
