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

couchbase / moss / 91
83%

Build:
DEFAULT BRANCH: master
Ran 04 Aug 2016 11:42PM UTC
Jobs 1
Files 18
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
91

push

travis-ci

steveyen
MB-20397 - refresh mmap's on older footers/snapshots

This change introduces a ref-counting wrapper (mmapRef) for mmap
handles.

When a mmapRef's ref-count drops to 0, its memory-mapped slice will be
unmapped and its corresponding file handle (FileRef) will be
DecRef()'ed.

This change also introduces ref-counting to footers.  Footers no
longer directly reference a FileRef, but now reference instead a
mmapRef.  (And, an mmapRef, in turn, references a FileRef.)

Finally, to fix MB-20397, whenever a new footer is appended to a store
file, any older, previous, in-use footers are refreshed to point to
the latest mmapRef.  The hope is that slow readers that are holding
onto a snapshot (and hence, an older footer) can be all migrated to
use the latest mmap'ed handles.  Older mmap handles can then be
dropped sooner rather than later, hopefully relieving pressure on the
VMM.

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

1950 of 2298 relevant lines covered (84.86%)

10853.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 91.1 04 Aug 2016 11:42PM UTC 0
84.86
Travis Job 91.1
Source Files on build 91
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #91
  • ded97c55 on github
  • Prev Build on master (#90)
  • Next Build on master (#92)
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