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

couchbase / moss / 108 / 1
83%
master: 83%

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

02 Oct 2016 08:45PM UTC coverage: 84.912% (-0.5%) from 85.433%
108.1

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

Source Files on job 108.1
  • Tree
  • List 0
  • Changed 19
  • Source Changed 5
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 108
  • Travis Job 108.1
  • 12e1097b on github
  • Prev Job for on master (#107.1)
  • Next Job for on master (#109.1)
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