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

cockroachdb / cockroach / 304
11%
master: 80%

Build:
Build:
LAST BUILD BRANCH: spencerkimball/store-txn
DEFAULT BRANCH: master
Ran 21 Jul 2020 08:26PM UTC
Jobs 1
Files 49
Run time 4s
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
304

push

travis-ci

Spencer Kimball
Move from dealing with just transaction ID to using the full transaction
struct in write intents and in request / response headers.

Cleaned up some code in MVCC that was unnecessarily complex and introduced
concept of transaction epochs for Put() and for ResolveIntent(). Transaction
epochs start at 0 and are incremented every time a transaction is retried.
Transactions are retried (instead of aborted) in the event that a value is
encountered within the "window of uncertainty" between RequestHeader.Timestamp
and RequestHeader.MaxTimestamp, or in the case of an SSI transaction, if
the final transaction timestamp is not equal to the initial transaction
timestamp.

Typically, when a transaction has to restart, it covers all of the same
keys on writes and increments the intents' epochs accordingly. However,
if there's conditional logic in the transaction, it might end up skipping
some keys which were written the previous run--those earlier intents should
then not be committed when the intents are resolved after txn commit.

110 of 993 relevant lines covered (11.08%)

0.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 304.1 21 Jul 2020 08:26PM UTC 0
11.08
Travis Job 304.1
Source Files on build 304
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #304
  • dfe6f937 on github
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