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

tarantool / tarantool / 15741 / 5
83%
master: 88%

Build:
Build:
LAST BUILD BRANCH: iverbin/gh-1918-memcs-index-info-ce
DEFAULT BRANCH: master
Ran 05 Mar 2019 08:51AM UTC
Files 305
Run time 1min
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

05 Mar 2019 08:22AM UTC coverage: 82.476% (+0.2%) from 82.233%
TARGET=coverage

push

travis-ci

locker
<a href="https://github.com/tarantool/tarantool/commit/<a class=hub.com/tarantool/tarantool/commit/afe89a1153223822accdbcaac461eb3028a56b9a">afe89a115<a href="https://github.com/tarantool/tarantool/commit/afe89a1153223822accdbcaac461eb3028a56b9a">&quot;&gt;vinyl: abort rw transactions when instance switches to ro

A Vinyl transaction may yield while having a non-empty write set. This
opens a time window for the instance to switch to read-only mode. Since
we check ro flag only before executing a DML request, the transaction
would successfully commit in such a case, breaking the assumption that
no writes are possible on an instance after box.cfg{read_only=true}
returns. In particular, this breaks master-replica switching logic.

Fix this by aborting all local rw transactions before switching to
read-only mode. Note, remote rw transactions must not be aborted,
because they ignore ro flag.

Closes #4016

(cherry picked from commit </a><a class="double-link" href="https://github.com/tarantool/tarantool/commit/<a class="double-link" href="https://github.com/tarantool/tarantool/commit/6666db8d5b5736abcfc5b71d1f7e1ac3dd34e730">6666db8d5</a>">6666db8d5</a><a href="https://github.com/tarantool/tarantool/commit/afe89a1153223822accdbcaac461eb3028a56b9a">)

41356 of 50143 relevant lines covered (82.48%)

839807.31 hits per line

Source Files on job 15741.5 (TARGET=coverage)
  • Tree
  • List 0
  • Changed 281
  • Source Changed 9
  • Coverage Changed 281
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13096
  • Travis Job 15741.5
  • afe89a11 on github
  • Prev Job for TARGET=coverage on 1.10 (#15713.5)
  • Next Job for TARGET=coverage on 1.10 (#15760.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc