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

zopefoundation / ZODB / 796
84%

Build:
DEFAULT BRANCH: master
Ran 15 Feb 2018 11:32PM UTC
Jobs 4
Files 51
Run time 3min
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
796

push

travis-ci

web-flow
Avoid seeking on import (#188)

* Don't seek on imports

(other than the possible seek for custom importers)

We were seeking to handle blob markers. This has two major drawbacks:

1. It wasn't possible to use a non-seekable file.  A use case for
   export/import is to copy database data.  An intermediate file, and
   associated I/O, could be avoided using a pipe, but pipes aren't
   seekable.

2. Seeks cause file-buffer data to be discarded, making IO far more
   expensive.

We didn't really need blob markers, because the preceeding blob data
records serve as markers.  (Now we're stuck with them for backward
compatibility.)

* Make cp's buffer size larger and configurable.

* Use the storage temprary directory when importing blobs

To avoid an extra copy.

Also, allow the copy (cp) buffer sie to be overridden on export.

(I see no obvious way to plumb it on import. :( )

* Oops, need to use a binary literal (Python 3)

* Respond to PR comments

6424 of 8533 relevant lines covered (75.28%)

2.99 hits per line

Jobs
ID Job ID Ran Files Coverage
3 796.3 15 Feb 2018 11:32PM UTC 0
74.64
Travis Job 796.3
4 796.4 15 Feb 2018 11:33PM UTC 0
74.96
Travis Job 796.4
5 796.5 15 Feb 2018 11:32PM UTC 0
74.89
Travis Job 796.5
6 796.6 15 Feb 2018 11:36PM UTC 0
74.89
Travis Job 796.6
Source Files on build 796
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #796
  • 2115c90a on github
  • Prev Build on master (#786)
  • Next Build on master (#798)
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