• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openstreetmap / openstreetmap-website / 153
97%

Build:
DEFAULT BRANCH: master
Ran 13 Jun 2015 10:18AM UTC
Jobs 1
Files 108
Run time 12s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
153

push

travis-ci

tomhughes
Fix bug allowing created elements to reference deleted ones

The bug allows a newly-created element to refer to a deleted one
if the transactions for both overlap. Precisely, the issue is that
the check that an element exists does not prevent a concurrent
transaction from altering that row.

Because "deleting" an element in the OSM database does not remove
the row, we cannot rely on FK constraints to ensure the correct
behaviour. Instead, this fix relies on manually locking referenced
elements.

Note that this "fix" is suboptimal, as it does not allow any
updates to the referenced elements. Updates which do not delete
the row could safely be done, but will be prevented.

Also, it's not clear what the negative performance impact of this
change will be.

5961 of 6270 relevant lines covered (95.07%)

64543.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 153.1 (1.9.3) 13 Jun 2015 10:18AM UTC 0
95.07
Travis Job 153.1
Source Files on build 153
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #153
  • cf6a5c17 on github
  • Prev Build on master (#149)
  • Next Build on master (#157)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc