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

stanford-oval / almond-cloud / 1916
62%

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2019 09:19PM UTC
Jobs 5
Files 145
Run time 42min
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
1916

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.

2149 of 3840 branches covered (55.96%)

Branch coverage included in aggregate %.

6933 of 9742 relevant lines covered (71.17%)

2474.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1916.1 11 Nov 2019 09:19PM UTC 0
45.94
Travis Job 1916.1
2 1916.2 11 Nov 2019 09:21PM UTC 0
32.41
Travis Job 1916.2
3 1916.3 11 Nov 2019 09:31PM UTC 0
58.38
Travis Job 1916.3
4 1916.4 11 Nov 2019 09:30PM UTC 0
20.4
Travis Job 1916.4
5 1916.5 11 Nov 2019 10:00PM UTC 0
31.9
Travis Job 1916.5
Source Files on build 1916
  • List 0
  • Changed 24
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Build #1916
  • 5fd36dcc on github
  • Prev Build on master (#1914)
  • Next Build on master (#1922)
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

© 2025 Coveralls, Inc