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

openstreetmap / openstreetmap-website / 153 / 1
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 13 Jun 2015 10:18AM UTC
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

13 Jun 2015 09:59AM UTC coverage: 95.072% (-0.02%) from 95.088%
1.9.3

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

Source Files on job 153.1 (1.9.3)
  • Tree
  • List 0
  • Changed 14
  • Source Changed 2
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 153
  • Travis Job 153.1
  • cf6a5c17 on github
  • Prev Job for 1.9.3 on master (#149.1)
  • Next Job for 1.9.3 on master (#157.1)
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