Ran
|
Jobs
1
|
Files
18
|
Run time
1s
|
Badge
README BADGES
|
push
travis-ci
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
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 91.1 | 18 |
84.86 |
Travis Job 91.1 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|