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

couchbase / moss / 108
83%

Build:
DEFAULT BRANCH: master
Ran 02 Oct 2016 08:46PM UTC
Jobs 1
Files 20
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
108

push

travis-ci

steveyen
MB-21059 - fix iteratorSingle to hold a ref to its mmap'ed resource.

Previously, iterators would be associated with their mmap'ed resource,
which helped ensure the mmap'ed resource would remain ref-counted
while the iterator was still in-use.

When an iterator was closed, too, the iterator would also close its
associated mmap'ed resource (decrementing ref-count by 1).

But, when the iteratorSingle optimization was introduced, this
association incorrectly didn't happen with iteratorSingle's, because
the previous code incorrectly performed a type equality check against
just the *iterator struct type (incorrectly forgetting to check the
iteratorSingle struct type).

This fix introduces the InitCloser interface, which is implemented by
both the regular iterator type and the optimized iteratorSingle type.

Change-Id: I71a7ada44
Reviewed-on: http://review.couchbase.org/68255
Reviewed-by: Marty Schoch <marty.schoch@gmail.com>
Tested-by: Steve Yen <steve.yen@gmail.com>

2133 of 2512 relevant lines covered (84.91%)

10154.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 108.1 02 Oct 2016 08:46PM UTC 0
84.91
Travis Job 108.1
Source Files on build 108
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #108
  • 12e1097b on github
  • Prev Build on master (#107)
  • Next Build on master (#109)
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