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

stanford-oval / almond-cloud / 1916 / 5
62%
master: 62%

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2019 10:00PM UTC
Files 134
Run time 26s
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

11 Nov 2019 09:11PM UTC coverage: 31.905% (-14.0%) from 45.936%
1916.5

push

travis-ci-com

web-flow
training/update-dataset: lower consistency level of update transaction (#585)

According to the MySQL documentation:
https://dev.mysql.com/doc/refman/8.0/en/innodb-locking.html#innodb-next-key-locks
at REPEATABLE READ level, UPDATE and DELETE statements use gap & next key locking,
and may lock rows or index records that are not matched by the query
(to avoid phantoms).
This is likely the cause of deadlocks we're seeing when the update-dataset
task is run concurrently to a Thingpedia edit operation or a mturk
task, both of which try to insert into the example_utterances database
(Thingpedia also tries to delete & edit).

At READ COMMITTED level, on the other hand, only the rows matched
by the query are locked. In principle, this should be sufficient
to solve the problem, as the update-dataset task only deletes synthetic
data. (It also updates paraphrase data to mark obsolete sentences, but
it's fine if it misses some paraphrase sentences that are inserted concurrently,
because those won't be immediately obsolete).

I say in principle, because we've been played with locking for a while
now, and this has been a long-standing concurrency problem. But this
is a quick fix.

643 of 3436 branches covered (18.71%)

Branch coverage included in aggregate %.

3273 of 8838 relevant lines covered (37.03%)

1333.31 hits per line

Source Files on job 1916.5
  • Tree
  • List 0
  • Changed 22
  • Source Changed 0
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1398
  • Travis Job 1916.5
  • 5fd36dcc on github
  • Prev Job for on master (#1914.1)
  • Next Job for on master (#1922.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