History log of /6.0.3/forestdb/CMakeLists.txt (Results 1 - 25 of 98)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# cf87722c 09-Feb-2017 olivermd <oliver.downard@couchbase.com>

Guard against LIBRT=NOTFOUND on APPLE

As a result of upgrading the version of google benchmark used we need to
guard against LIBRT being set in the CMakeCache on MacOS which does not

Guard against LIBRT=NOTFOUND on APPLE

As a result of upgrading the version of google benchmark used we need to
guard against LIBRT being set in the CMakeCache on MacOS which does not
have LIBRT. This is because google benchmark tries to find it without
checking it's not making for a non MacOS system. This means that when
it's not found it sets the variable as NOTFOUND rather than it not being
set at all. This interfered with the forestdb CMakeLists.txt.

Change-Id: I01b8ae6b041062f27eaa562722e016db1005910f
Reviewed-on: http://review.couchbase.org/73451
Reviewed-by: Jim Walker <jim@couchbase.com>
Tested-by: Jung-Sang Ahn <jungsang.ahn@gmail.com>

show more ...


# 93e1be85 21-Jun-2016 Trond Norbye <trond.norbye@gmail.com>

MB-19390: Use jemalloc on windows

Change-Id: I39df6ec9597f45d5a69533e0d2ccb28ef57183da
Reviewed-on: http://review.couchbase.org/65103
Well-Formed: buildbot <build@couchbase.com>

MB-19390: Use jemalloc on windows

Change-Id: I39df6ec9597f45d5a69533e0d2ccb28ef57183da
Reviewed-on: http://review.couchbase.org/65103
Well-Formed: buildbot <build@couchbase.com>
Reviewed-by: Will Gardner <will.gardner@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


Revision tags: v1.2
# 5f72686d 12-Apr-2016 Sundar Sridharan <sundar.sridharan@gmail.com>

Fix build breakage for non-couchbase server builds

DL_LIBRARY required for segfault handling was removed by mistake.

Change-Id: I8d477dc2b18e441a9a41e7cba0b399bb91ff877f
Reviewe

Fix build breakage for non-couchbase server builds

DL_LIBRARY required for segfault handling was removed by mistake.

Change-Id: I8d477dc2b18e441a9a41e7cba0b399bb91ff877f
Reviewed-on: http://review.couchbase.org/62694
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Reviewed-by: abhinav dangeti <abhinav@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...


# 6d85230b 11-Apr-2016 abhinavdangeti <abhinav@couchbase.com>

MB-19152: Generate backtrace when linked with platform directory

Backtrace has a lot of dependencies that platform and
tlm cater to. Removing backtrace support from standalone
forest

MB-19152: Generate backtrace when linked with platform directory

Backtrace has a lot of dependencies that platform and
tlm cater to. Removing backtrace support from standalone
forestdb, to avoid compilation errors seen on windows:

Linking CXX executable forestdb_dump.exe
backtrace.cc.obj : error LNK2019: unresolved external symbol
__imp__SymGetModuleInfo64@16 reference in function
"void __cdecl describe_address(char *, unsigned int, void *)"
(?describe_address@@YAXPADIPAX@Z)
...

Change-Id: I7f860f8130f131754603fc5a6113b1c653fc979e
Reviewed-on: http://review.couchbase.org/62671
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...


# b95738ed 23-Mar-2016 abhinavdangeti <abhinav@couchbase.com>

MB-18837: BreakPAD & Backtrace Support with ForestDB

+ fdb_assert() will print the backtrace.
+ Integrating breakpad support for Windows and Linux,
generates minidump only in case

MB-18837: BreakPAD & Backtrace Support with ForestDB

+ fdb_assert() will print the backtrace.
+ Integrating breakpad support for Windows and Linux,
generates minidump only in case of fdb_assert.

Change-Id: Ic6fc0cb796fb8acbfe78018605fc595cdfcb3a67
Reviewed-on: http://review.couchbase.org/61897
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# a7b968df 29-Mar-2016 Jung-Sang Ahn <jungsang.ahn@gmail.com>

Enable C++11 support in Visual studio from cmake

- Visual studio doesn't need any additional flag for C++11.

Change-Id: Iac1ac0175828edb6eaed501c14f8a71d7f846dc1
Reviewed-on: ht

Enable C++11 support in Visual studio from cmake

- Visual studio doesn't need any additional flag for C++11.

Change-Id: Iac1ac0175828edb6eaed501c14f8a71d7f846dc1
Reviewed-on: http://review.couchbase.org/62105
Reviewed-by: abhinav dangeti <abhinav@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 86594dc0 23-Mar-2016 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-18747: Temporarily disable WAL sharing

WAL sharing introduces slightly increased latencies in
query path causing crashes in gsi. Temporarily disabling
to unblock testing until it

MB-18747: Temporarily disable WAL sharing

WAL sharing introduces slightly increased latencies in
query path causing crashes in gsi. Temporarily disabling
to unblock testing until it is resolved.
compile with -D_MVCC_WAL=1 to re-enable.

Change-Id: I40e461202009db124c6d4b29a905bebc3e235007
Reviewed-on: http://review.couchbase.org/61345
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 923d253c 23-Mar-2016 abhinavdangeti <abhinav@couchbase.com>

MB-18846: Update minimum cmake version required

Minumum CMake version required to support OBJECT
library types is 2.8.8.

Change-Id: Ic4dae5d41b6c4790eba2fec89cb090d0907f46cf

MB-18846: Update minimum cmake version required

Minumum CMake version required to support OBJECT
library types is 2.8.8.

Change-Id: Ic4dae5d41b6c4790eba2fec89cb090d0907f46cf
Reviewed-on: http://review.couchbase.org/61861
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...


# aa8ae3ab 17-Mar-2016 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-17904 Make C++11 support as a required build environment

As we plan to move our code repository to C++11 incrementally, this
commit makes C++11 support as a build environment required

MB-17904 Make C++11 support as a required build environment

As we plan to move our code repository to C++11 incrementally, this
commit makes C++11 support as a build environment required.

Change-Id: Iba2f8ceed33af635e61647b6522169c74e7cfed1
Reviewed-on: http://review.couchbase.org/61663
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# c83d9833 16-Mar-2016 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-17904 Use C++11 atomic library if supported

If a build environment has C++11 support, then this change allows
us to use C++11 atomic library instead of other built-in implementations.

MB-17904 Use C++11 atomic library if supported

If a build environment has C++11 support, then this change allows
us to use C++11 atomic library instead of other built-in implementations.

The subsequent change will provide an atomic operation with a relaxed
memory order from C++11.

Change-Id: I9f26ceddb42c68f00deecf5518bfba388ff4c217
Reviewed-on: http://review.couchbase.org/61605
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 22c2d01c 15-Mar-2016 abhinavdangeti <abhinav@couchbase.com>

Enabling code_coverage for forestDb

A new Jenkins nightly job will now generate code
coverage results for forestdb, and this change is
required for it to run successfully.

H

Enabling code_coverage for forestDb

A new Jenkins nightly job will now generate code
coverage results for forestdb, and this change is
required for it to run successfully.

Here's the link to the jenkins project:
http://factory.couchbase.com/view/build/view/Code%20coverage/job/forestdb-nightly-coverage/

Change-Id: I1c41724a5a2c63f78e5c9ae65a9871409c9f8fe8
Reviewed-on: http://review.couchbase.org/61521
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


Revision tags: v1.1
# 7decd25a 02-Mar-2016 abhinavdangeti <abhinav@couchbase.com>

[1] Adding new module testsuite for stale block reuse

This testsuite will contain functional tests that are
to cover stale block reuse.

Change-Id: I80f7adcf0b775b5db32debccb5953

[1] Adding new module testsuite for stale block reuse

This testsuite will contain functional tests that are
to cover stale block reuse.

Change-Id: I80f7adcf0b775b5db32debccb595378b4630dfc6

show more ...


Revision tags: v1.0
# 34e10f85 20-Feb-2016 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-14710: MVCC WAL for Fast & Cheap Snapshots, Iterators

wal_items are shared with writer, current & all future snapshots
until wal_flush.
Mutations are inserted into KV Store's late

MB-14710: MVCC WAL for Fast & Cheap Snapshots, Iterators

wal_items are shared with writer, current & all future snapshots
until wal_flush.
Mutations are inserted into KV Store's latest mutable snapshot.
When snapshot_open is called the latest mutable snapshot of KVS
is marked as immutable and returned/cloned.
Stable iterations do merge-sort over all WAL shards but
return only the wal_item that was valid at time of snapshot.
wal_flush lazily cleans up items of closed snapshots and prevents
future snapshots from accessing items created before the flush.
Iterators simplified to be symmetric & reactive instead of proactive

Change-Id: I1a42758e28d522031f595b15ec580bc837382dd9

show more ...


# 9666a835 12-Feb-2016 Chiyoung Seo <chiyoung.seo@gmail.com>

Add a new API to return a string representation of ForestDB library version

A string representation of ForestDB library version is based on git-describe.

Change-Id: I834cc726d4d965b

Add a new API to return a string representation of ForestDB library version

A string representation of ForestDB library version is based on git-describe.

Change-Id: I834cc726d4d965b7ae78fa2d08e1319643d56177

show more ...


# f0b1bf77 07-Dec-2015 Jung-Sang Ahn <jungsang.ahn@gmail.com>

MB-16219 Support superblock and circular block reusing

- Super blocks point to the up-to-date DB header.

- When configured conditions are satisfied, stale blocks are reused
in a

MB-16219 Support superblock and circular block reusing

- Super blocks point to the up-to-date DB header.

- When configured conditions are satisfied, stale blocks are reused
in a circular manner. This does not increase the DB file size, so
that we can largely reduce the overhead from compaction.

- The latest a few old versions are preserved for future snapshot
creation.

Change-Id: I6eb9209ced436c0a84ebb0216344eb04f300fca9

show more ...


# 5c9158b0 29-Jan-2016 Dave Rigby <daver@couchbase.com>

CMake: Only build each source file once where possible - 2x build speedup

Use CMake OBJECT libraries (a collection of objects which are built
just once) for source files which are used i

CMake: Only build each source file once where possible - 2x build speedup

Use CMake OBJECT libraries (a collection of objects which are built
just once) for source files which are used identically in different
targets. This signifcantly reduces the number of object files built
(previoulsy CMake would build each source file once for each target is
is included in).

Significantly reduces build time - time for a clean build of the
forestdb/ subdir (ccache disabled) - make -j8

Object files: 628

Times:
real 0m50.530s
user 0m27.857s
sys 0m18.651s

Object files: 284

Times:
real 0m35.181s
user 0m21.727s
sys 0m11.485s

Change-Id: I13fcd339e126095ea5e58b9305c9864742bd5c8a

show more ...


# a80974c3 07-Dec-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-16988 Disable CRC32C to avoid the read compatiblity issue at this time

ForestDB without Couchbase platform library dependency uses the software
CRC32, which can cause read compatibili

MB-16988 Disable CRC32C to avoid the read compatiblity issue at this time

ForestDB without Couchbase platform library dependency uses the software
CRC32, which can cause read compatibility issues with ForestDB built with
the platform library that has the Intel CRC32C support.

To avoid the read compatibility issue, this change disables CRC32C support
at this time. We will devise a new approach that can still provide better
performance without compromising the compatibility issue.

Change-Id: I0fd3d057a364035a7f470392d8f802f8a0a8639a

show more ...


# bc44457d 23-Oct-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-16608 Support cross-platform encryption options.

ForestDB uses the CommonCrypto library to perform file level encryption,
but that library is specific to Apple products (iOS and OS X)

MB-16608 Support cross-platform encryption options.

ForestDB uses the CommonCrypto library to perform file level encryption,
but that library is specific to Apple products (iOS and OS X).
To address it, this change provides an option to use other cross-platform
libraries (OpenSSL and LibTomCrypt).

_ENCRYPTION macro can be optionally passed to specify which crypto library
is used to support database encryption and set to 'commoncrypto' on iOS and
OS X, 'openssl' for OpenSSL, or 'libtomcrypt' for LibTomCrypt.

For example,

% cmake -D_ENCRYPTION=commoncrypto path_to_build_directory

Change-Id: I740eddfc4cf0ea59ef630879d872b978ad362574

show more ...


# 0e1095e3 06-Nov-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

Build failure fix for latency stats, missing -lrt

Change-Id: I681e71fd5ae1e30d69d3b9275dc9628e55040def


# ac637aba 06-Nov-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

Provide latency timings of forestdb APIs

Currently, this change provides min, max, and avg latency of
fdb_set, fdb_get, fdb_commit, fdb_snapshot_open, and fdb_compact APIs.

late

Provide latency timings of forestdb APIs

Currently, this change provides min, max, and avg latency of
fdb_set, fdb_get, fdb_commit, fdb_snapshot_open, and fdb_compact APIs.

latency(us) min avg max num_samples
sets : 1 19 78430 100000
gets : 1 2 23 2000
commits : 45 68 1179 10000
snapshots: 3 2852 9868 2000
compact : 343546 1086552 1932497 6

Change-Id: If3e25e7cebb0df00a172b39e983e23f4cc7e7a75

show more ...


# f79b8704 03-Nov-2015 Dave Rigby <daver@couchbase.com>

MB-16702: Look in correct location for jemalloc in server build

As part of updating to jemalloc the header file location has been
corrected to be jemalloc.exploded/include, instead of in

MB-16702: Look in correct location for jemalloc in server build

As part of updating to jemalloc the header file location has been
corrected to be jemalloc.exploded/include, instead of install/include
- as we don't actually ship the header. However forestdb doesn't look
in the correct location for memory allocator headers - it relies on
picking them up from install/include via some other
include_directories() directives.

Fix this to look where CMake has explicitly found them.

Change-Id: Ib045f6d9262ff9181da3faf44ee98ce3c3947937

show more ...


# 4862310e 21-Oct-2015 Jung-Sang Ahn <jungsang.ahn@gmail.com>

MB-16219 Manage reference counter for commit headers

- Add a feature to get the smallest commit revnum that are being
referred by opened handles.

- Also add a feature to merge a

MB-16219 Manage reference counter for commit headers

- Add a feature to get the smallest commit revnum that are being
referred by opened handles.

- Also add a feature to merge all stale regions that are generated
before the revnum, and calculate the list of the reusable blocks.
The reusable block list will be stored in super block as a bitmap.

- This commit does not affect DB behavior yet.

Change-Id: I89ed72f97d9535e3e73d0ce7ba6a2ee18195f30d

show more ...


# 72981f99 27-Oct-2015 Dave Rigby <daver@couchbase.com>

CBD-1678: Only include ThreadSanitizer if not part of main build

Including ThreadSanitizer twice (well actually two slightly different
files as forestdb has it's own copy :/) causes cmak

CBD-1678: Only include ThreadSanitizer if not part of main build

Including ThreadSanitizer twice (well actually two slightly different
files as forestdb has it's own copy :/) causes cmake to crash. Only
include it if we are not doing a proper server build.

Change-Id: I2c48c551dc7a4bca1a8df0be480f37f95bd2cd02

show more ...


# dce07a74 23-Oct-2015 Tommie McAfee <tommie@couchbase.com>

support for thread sanitizer

Example build with thread sanitizer (requires clang)
cmake -DCMAKE_C_COMPILER=clang-3.5 -DCMAKE_CXX_COMPILER=clang++-3.5 -DCB_THREADSANITIZER=1 ..

support for thread sanitizer

Example build with thread sanitizer (requires clang)
cmake -DCMAKE_C_COMPILER=clang-3.5 -DCMAKE_CXX_COMPILER=clang++-3.5 -DCB_THREADSANITIZER=1 ..

Change-Id: I27449c5917a29332d8da1898852d5f8e2aaa8351

show more ...


# 5d68b1a2 23-Oct-2015 Tommie McAfee <tommie@couchbase.com>

Move cmake modules to subdirectory

Change-Id: Ie7fa24e52bdc27bbf4e6f610df741c1381a802fe


1234