[openstreetmap/openstreetmap-website] Clone objects before saving in case of a retry (#1384)
notifications at github.com
Mon Nov 28 22:28:26 UTC 2016
If a deadlock occurs then the transaction will be retried so we
need to make sure that the object will still be dirty so that it
will be saved again during the retry but that the version won't
be incremented a second time.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Clone objects before saving in case of a retry
-- File Changes --
M app/models/node.rb (10)
M app/models/relation.rb (12)
M app/models/way.rb (9)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev