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

zodb / relstorage
91%
master: 92%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/github-actions-a331d3ec2d
DEFAULT BRANCH: master
Repo Added 10 Jun 2016 11:39AM UTC
Files 234
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 better-cache-validation
branch: better-cache-validation
CHANGE BRANCH
x
Reset
  • better-cache-validation
  • 1.6
  • 1.6-no-zeo
  • 1.6.1
  • 1.6.2
  • 1.6.3
  • 2.0.0
  • 2.0.0b4
  • 2.0.0b5
  • 2.0.0b6
  • 2.0.0b7
  • 2.0.0b8
  • 2.0.0b9
  • 2.0.0rc1
  • 2.1.0
  • 2.1.1
  • 2.1a1
  • 2.1a2
  • 3.0.0
  • 3.0.1
  • 3.0a10
  • 3.0a11
  • 3.0a12
  • 3.0a13
  • 3.0a2
  • 3.0a3
  • 3.0a4
  • 3.0a5
  • 3.0a6
  • 3.0a7
  • 3.0a9
  • 3.0b1
  • 3.0b2
  • 3.0b3
  • 3.0rc1
  • 3.1.0
  • 3.1.1
  • 3.1.2
  • 3.2.0
  • 3.2.1
  • 3.5.0
  • 3.6
  • 4.0.0
  • 4.0.0a1
  • 4.1.0
  • 4.1.1
  • 4.2.0
  • ZODB5-before-instance-optimization
  • afterCompletion
  • appveyor
  • appveyor38
  • argparse
  • better-lock-algorithm
  • better_store_conn_cleanup
  • bigger_MVCC_depth_by_default
  • blobhelper-never-none
  • boost1_83-gcc13
  • boost_1_75
  • btrees472
  • cache-file-temp-better
  • cache-read-opts
  • check-cache-for-readCurrent
  • ci-for-pr-20
  • cleanup-blob-tests
  • commit-lock-ex
  • configure-sqlite
  • conflict-res-from-cache
  • coveralls-ignore-oracle
  • cython-3rc2
  • default-postgres-version
  • dependabot/github_actions/github-actions-a331d3ec2d
  • faster-cache-validation
  • faster-conflict-loading
  • faster-pack
  • faster-pg-gevent
  • faster-vacuum
  • file-time-tid
  • find_packages
  • finer-lru
  • fix-135-16
  • fix-135-master
  • gcc13-py12-updates
  • generic-txncontrol
  • github-actions
  • issue125
  • issue159
  • issue166
  • issue169
  • issue173
  • issue175
  • issue178
  • issue181
  • issue186
  • issue188
  • issue201
  • issue206
  • issue210
  • issue211
  • issue212
  • issue212-mysql
  • issue213
  • issue216
  • issue218
  • issue220
  • issue222
  • issue224
  • issue227
  • issue228
  • issue232
  • issue239
  • issue241
  • issue242
  • issue246
  • issue247
  • issue249
  • issue264
  • issue266
  • issue270
  • issue280
  • issue281
  • issue281-pg
  • issue283
  • issue291
  • issue293
  • issue296
  • issue302
  • issue304
  • issue310
  • issue311
  • issue311-take2
  • issue317
  • issue325
  • issue329
  • issue339
  • issue340
  • issue342
  • issue344
  • issue376
  • issue381
  • issue389
  • issue401
  • issue403
  • issue407
  • issue409
  • issue411
  • issue421
  • issue424
  • issue425
  • issue438
  • issue446
  • issue454
  • issue460
  • issue464
  • issue468
  • issue474
  • issue511
  • issue78
  • issue9
  • issuo61
  • jim-test
  • jim-zodb5
  • legacy-zodb-removal
  • lint
  • llbtree-delta
  • loadBefore-optimization
  • log-improvements
  • mamico-1.6-travis
  • master
  • monkey-zodb-139
  • more-logging
  • more-merging
  • more-tests-16
  • mvcc-logging
  • mysql-connector
  • mysql-myisasm
  • mysql-set-min-oid
  • mysql-tid-rounding
  • native-updated-pypy
  • new-protocol
  • no-close-conn-vote-conflict
  • none_bucket_on_load
  • old-pypy
  • oracle-fixes
  • pcache-correct-tids
  • pcache-missed-update
  • pers-cache
  • persistent-cache-efficiency
  • pg-row-batcher-arrays
  • pg_faster_lock_and_move
  • poll-old-cache
  • poller_no_if
  • postgresql-lockless-commit
  • prep-statements
  • prep30a9
  • py-updates
  • py312
  • py314
  • py36
  • py39
  • reduce-cache-locking
  • refactor-dbs
  • refactor-save
  • refactor-simple-service
  • revert-lock-order
  • rst-files
  • simplify-max-stored
  • simplify-tracing
  • smaller-include
  • sqlite-gevent
  • sqlite-optimize
  • sqlite-stats
  • storage-is-not-threadsafe
  • transaction2.0
  • travis37
  • umysqldb
  • unify-oids
  • unreleased-updates
  • update-mysqlconnector
  • update-zodb
  • use-unsigned-tree
  • w-tinylru
  • w-tinylru-cffi
  • wheels-on-travis
  • zodb522-blobs
  • zodbconvert-improvements

pending completion
808

Pull #245

travis-ci

web-flow
Add more aggressive validation and, when possible, corrections for certain types of cache consistency errors.

Previously an ``AssertionError`` would be raised with the message
"Detected an inconsistency between RelStorage and the database...". We
now proactively try harder to avoid that situation based on some
educated guesses about when it could happen, and should it still
happen we now reset the cache and raise a type of ``TransientError``
allowing the application to retry. A few instances where previously
incorrect data could be cached may now raise such a
``TransientError``.

I also noticed that the poller's "list_changes" method does make
certain guarantees, and so we started to rely on them. This helps us
detect any issues initially building up the local delta maps.
Pull Request #245: Add more aggressive validation and, when possible, corrections for some cache consistency errors

72 of 72 new or added lines in 6 files covered. (100.0%)

10789 of 11800 relevant lines covered (91.43%)

3.63 hits per line

Relevant lines Covered
Build:
Build:
11800 RELEVANT LINES 10789 COVERED LINES
3.63 HITS PER LINE
Source Files on better-cache-validation
  • List 0
  • Changed 25
  • Source Changed 8
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
808 better-cache-validation Add more aggressive validation and, when possible, corrections for certain types of cache consistency errors. Previously an ``AssertionError`` would be raised with the message "Detected an inconsistency between RelStorage and the database...". We... Pull #245 11 Jun 2019 11:36PM UTC web-flow travis-ci pending completion  
807 better-cache-validation Add more aggressive validation and, when possible, corrections for certain types of cache consistency errors. Previously an ``AssertionError`` would be raised with the message "Detected an inconsistency between RelStorage and the database...". We... push 11 Jun 2019 11:04PM UTC jamadden travis-ci pending completion  
See All Builds (1474)
  • 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