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

pouchdb / pouchdb / 8599
100%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2016 04:47PM UTC
Jobs 1
Files 1
Run time 1s
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
8599

push

travis-ci

daleharvey
(#5782) - Handle rev-1 conflict during sync

* (#5782) - add sync test for fuzzy failure

Adds a test to reproduce the error detected in #5782

Failing test for fuzzy

minimal repro

* (#5782) - fetch rev-1 conflicts in replication

We currently have an optimisation that uses _bulk_docs to fetch
rev-1 documents during replication. This reduces the number of requests
to a remote server by avoiding individual document GETs (though this
is now mitigated by the _bulk_get endpoint in CouchDB 2.0), but can
only be used for documents that have exactly one revision because we
are not fetching the complete rev tree.

This patch fixes an issue with the optimisation where we would fail to
fetch a conflicting revision at rev-1. For instance, if 2 documents
with identical _ids but different _revs were created on the local and
remote datastores.

The medium term solution is to remove the optimisation (#4651) in
favour of _bulk_get, but this should allow us to maintain backwards
compatibility until _bulk_get is widely deployed.

4622 of 4622 relevant lines covered (100.0%)

26829.96 hits per line

Jobs
ID Job ID Ran Files Coverage
37 8599.37 (COMMAND=report-coverage COVERAGE=1) 14 Oct 2016 04:47PM UTC 0
100.0
Travis Job 8599.37
Source Files on build 8599
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8599
  • 8f0d7d22 on github
  • Prev Build on master (#8591)
  • Next Build on master (#8602)
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