diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-05-03 12:35:23 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-05-03 12:35:23 -0400 |
| commit | 4b71933489cae21ad94b71b0bc7271c075ad0dda (patch) | |
| tree | 6206ad2828b1512e4da7066b7df09aa141603873 /doc | |
| parent | 67fe179d1b2fb559b213d2e924da365f05e169ce (diff) | |
| download | sqlalchemy-4b71933489cae21ad94b71b0bc7271c075ad0dda.tar.gz | |
Use identity_token for refresh(), unexpire, undefer
The horizontal sharding extension now makes use of the identity token
added to ORM identity keys as part of :ticket:`4137`, when an object
refresh or column-based deferred load or unexpiration operation occurs.
Since we know the "shard" that the object originated from, we make
use of this value when refreshing, thereby avoiding queries against
other shards that don't match this object's identity in any case.
Change-Id: Ib91637a65d94ace7405998b8410d62944a83f2eb
Fixes: #4247
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/unreleased_12/4247.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_12/4247.rst b/doc/build/changelog/unreleased_12/4247.rst new file mode 100644 index 000000000..f1858b9a2 --- /dev/null +++ b/doc/build/changelog/unreleased_12/4247.rst @@ -0,0 +1,10 @@ +.. change:: + :tags: bug, ext + :tickets: 4247 + + The horizontal sharding extension now makes use of the identity token + added to ORM identity keys as part of :ticket:`4137`, when an object + refresh or column-based deferred load or unexpiration operation occurs. + Since we know the "shard" that the object originated from, we make + use of this value when refreshing, thereby avoiding queries against + other shards that don't match this object's identity in any case.
\ No newline at end of file |
