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

cockroachdb / cockroach
11%
master: 80%

Build:
Build:
LAST BUILD BRANCH: spencerkimball/store-txn
DEFAULT BRANCH: master
Repo Added 29 Feb 2016 08:14PM UTC
Files 49
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

LAST BUILD ON BRANCH spencerkimball/store-txn
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • codecov
  • coveralls
  • d4l3k/coverage-fix
  • d4l3k/coveralls
  • develop
  • master
  • spencerkimball/store-txn
  • tamird/coverage

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

Relevant lines Covered
Build:
Build:
993 RELEVANT LINES 110 COVERED LINES
0.11 HITS PER LINE
Source Files on master
  • Tree
  • List 49
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
304 spencerkimball/store-txn 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()... push 21 Jul 2020 08:26PM UTC Spencer Kimball travis-ci pending completion  
# master Merge #24454 #24573 #24577 #24605 #24619 push 11 Apr 2018 03:33AM UTC craig[bot] pending completion  
#454 master Merge #24594 push 10 Apr 2018 03:28AM UTC craig[bot] pending completion  
#453 master Merge #24587 push 09 Apr 2018 03:35AM UTC craig[bot] pending completion  
#452 master Merge #24530 push 08 Apr 2018 03:34AM UTC craig[bot] pending completion  
#451 master Merge #24567 push 07 Apr 2018 03:30AM UTC craig[bot] pending completion  
#450 master Merge pull request #24451 from andy-kimball/weakkey push 06 Apr 2018 03:30AM UTC web-flow pending completion  
#449 master Merge #24469 push 05 Apr 2018 03:31AM UTC craig[bot] pending completion  
#448 master Merge pull request #24414 from andreimatei/distsql-tcs push 03 Apr 2018 03:33AM UTC web-flow pending completion  
#447 master Merge pull request #24346 from cockroachdb/new-role-diagrams push 02 Apr 2018 03:33AM UTC web-flow pending completion  
See All Builds (341)
  • Repo 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

© 2025 Coveralls, Inc