[openstreetmap/openstreetmap-website] Update num_changes when backfilling changesets (PR #6361)
Anton Khorev
notifications at github.com
Thu Aug 28 14:14:50 UTC 2025
AntonKhorev left a comment (openstreetmap/openstreetmap-website#6361)
> I don't remember if Rails checks the current number of changes while holding a lock on Changesets. If not, then there's a chance of a race condition.
There's no changeset lock for single element writes.
> On cgimap, there's an exclusive lock on the changeset id in place, which prevents this sort of issue.
cgimap doesn't have single element writes.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6361#issuecomment-3233678395
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6361/c3233678395 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250828/90292426/attachment-0001.htm>
More information about the rails-dev
mailing list