History log of /6.0.3/forestdb/ (Results 51 - 75 of 1302)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
d186280416-May-2016 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-19647: Correctly suppress logcallback during file open recovery check

When a file is opened with auto compaction mode, the open logic
attempts to open the old compacted file to see if

MB-19647: Correctly suppress logcallback during file open recovery check

When a file is opened with auto compaction mode, the open logic
attempts to open the old compacted file to see if it needs to be
removed. During this time, it is necessary to correctly suppress
the log_callback to prevent false error messages like this..
[FDB ERR] Error in OPEN on a database file 'store.0', errno = 2: 'No such file or directory'

Change-Id: I20a65bf521634d074f51a393e1981257423bbfba
Reviewed-on: http://review.couchbase.org/64080
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

9b16c7ee13-May-2016 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-19619: Add latencies for fdb_open, kvs_open, snapshot clone

Change-Id: I45ea98ff730555eefc1af4b04ad3104051e9fd75
Reviewed-on: http://review.couchbase.org/63996
Reviewed-by: Chiyou

MB-19619: Add latencies for fdb_open, kvs_open, snapshot clone

Change-Id: I45ea98ff730555eefc1af4b04ad3104051e9fd75
Reviewed-on: http://review.couchbase.org/63996
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

1ccfc6d313-May-2016 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-19619: Log first time fdb_open,close,bcache init

Change-Id: Ie8f4aa684518b52166453a6a7af978c039c540b4
Reviewed-on: http://review.couchbase.org/63994
Reviewed-by: Chiyoung Seo <chi

MB-19619: Log first time fdb_open,close,bcache init

Change-Id: Ie8f4aa684518b52166453a6a7af978c039c540b4
Reviewed-on: http://review.couchbase.org/63994
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

9f2a249412-May-2016 abhinavdangeti <abhinav@couchbase.com>

Check validity of pointer before dereferencing

+ Context: fdb_get_kvs_ops_info
+ Also, fdb_get_kvs_ops_info is a public LIBFDB_API

Change-Id: Ic1eb7871080032597de4b9d8023bb31269

Check validity of pointer before dereferencing

+ Context: fdb_get_kvs_ops_info
+ Also, fdb_get_kvs_ops_info is a public LIBFDB_API

Change-Id: Ic1eb7871080032597de4b9d8023bb312694b36c4
Reviewed-on: http://review.couchbase.org/64009
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

e804b9fa12-May-2016 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-19620: Use correct handle to get filename in _fdb_reset

Change-Id: I6f769fdfb223e61531327efd052930246c533405
Reviewed-on: http://review.couchbase.org/64007
Reviewed-by: Chiyoung S

MB-19620: Use correct handle to get filename in _fdb_reset

Change-Id: I6f769fdfb223e61531327efd052930246c533405
Reviewed-on: http://review.couchbase.org/64007
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

0526457e11-May-2016 Sundar Sridharan <sundar.sridharan@gmail.com>

Re-enable e2e_index_basic test with checks

Since e2e_index_basic test was disabled due to rollback
header violation, re-enabling the test with checks to catch
this condition.

Re-enable e2e_index_basic test with checks

Since e2e_index_basic test was disabled due to rollback
header violation, re-enabling the test with checks to catch
this condition.

Change-Id: Ie0c3f5b278a03f046e617c0bd5706ea84117c5d1
Reviewed-on: http://review.couchbase.org/63946
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: abhinav dangeti <abhinav@couchbase.com>
Reviewed-by: Jung-Sang Ahn <jungsang.ahn@gmail.com>

show more ...

506df2a910-May-2016 Jung-Sang Ahn <jungsang.ahn@gmail.com>

MB-19573 Do not allow rollback/snapshot beyond the min_live_header

- MVCC operations on the headers prior than the minimum live header
that kept in superblock should be prevented.

MB-19573 Do not allow rollback/snapshot beyond the min_live_header

- MVCC operations on the headers prior than the minimum live header
that kept in superblock should be prevented.

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

show more ...

db9e670009-May-2016 abhinavdangeti <abhinav@couchbase.com>

Fix memory leak detected in usecase tests

Base & derived class destructor to be of _virtual_ type.
Otherwise, one of the destructos will be invoked in the
following cases:
+ When

Fix memory leak detected in usecase tests

Base & derived class destructor to be of _virtual_ type.
Otherwise, one of the destructos will be invoked in the
following cases:
+ When a derived class object is created and assigned to
a pointer of base class type, upon deletion of which
only the base class's destructor will be invoked.
+ When a derived class object is created and assigned to
a pointer of derived class type, upon deletion of which
only the derived class's destructor will be invoked.

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

show more ...

acc133d706-May-2016 abhinavdangeti <abhinav@couchbase.com>

Extend usecase tests to cover multiple file scenario

===== Avg Latencies (10H, 5F, 4RW, 4RO - Seperate Pool test) - 2214662 samples (ms) ===

Percenti

Extend usecase tests to cover multiple file scenario

===== Avg Latencies (10H, 5F, 4RW, 4RO - Seperate Pool test) - 2214662 samples (ms) ===

Percentile
Median 95th 99th Std Dev Histogram of samples

set 0.002 0.016 0.188 0.061 ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
commit 0.150 0.251 1.127 1.072 ▁█▃▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
in-mem snapshot 2.414 5.208 6.142 1.599 ▁▆▇▆▇█▇▇▇▇▇▆▆▆▇▆▆▆▆▆▆▆▆▆▆▅▆▅▅▄▄▄
clone snapshot 0.002 0.005 0.008 0.007 ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
iterator-init 0.006 0.012 0.018 0.005 ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
iterator-seek 0.007 0.012 0.018 0.005 ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
iterator-get 0.001 0.002 0.003 0.004 ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
iterator-close 0.002 0.004 0.007 0.004 ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
0 ms 5
=======================================================================================

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

show more ...

6bb3108c06-May-2016 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-19536 Check if file's superblock is NULL or not in fdb_get_all_snap_markers

As a file's superblock is still NULL and not initialized yet, we should check
if it is NULL or not before a

MB-19536 Check if file's superblock is NULL or not in fdb_get_all_snap_markers

As a file's superblock is still NULL and not initialized yet, we should check
if it is NULL or not before accessing its member variables.

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

show more ...

bdafd47303-May-2016 abhinavdangeti <abhinav@couchbase.com>

Adding a use case test that more closely mimics the fts usecase

This test case will contain a snapshot handle pool that is
populated by the writer threads, while the reader threads
a

Adding a use case test that more closely mimics the fts usecase

This test case will contain a snapshot handle pool that is
populated by the writer threads, while the reader threads
attempt to clone snapshot handles from this new pool to
do iterator operations.

========== Avg Latencies (4 WR, 4 RO - Separate Pool test) - 3226680 samples (ms) =====

Percentile
Median 95th 99th Std Dev Histogram of samples

set 0.013 0.366 1.043 0.185 ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
commit 0.149 0.310 0.490 0.231 ▁█▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
in-mem snapshot 2.395 5.486 6.719 1.686 ▁█▆▇▆▆▆▆▆▆▆▅▅▅▅▆▆▅▆▅▅▅▅▅▄▄▄▄▃▃▃▃
clone snapshot 0.002 0.005 0.009 0.004 ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
iterator-init 0.003 0.012 0.017 0.005 ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
iterator-seek 0.003 0.011 0.017 0.005 ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
iterator-get 0.001 0.002 0.004 0.002 ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
iterator-close 0.001 0.005 0.008 0.003 ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
0 ms 5
=======================================================================================

Change-Id: Icbfb23ff8c9cfbce9f31bbe690ce7e8f085d80f6
Reviewed-on: http://review.couchbase.org/63684
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

39fe9ae503-May-2016 Jung-Sang Ahn <jungsang.ahn@gmail.com>

MB-19459 Do not move entire sub-blocks in a block to new block at once

- The corresponding pointers in the parent node are not updated
properly so that crash happens when old sub-blocks

MB-19459 Do not move entire sub-blocks in a block to new block at once

- The corresponding pointers in the parent node are not updated
properly so that crash happens when old sub-blocks are reclaimed.

- Move the target sub-block one by one.

- Also, add btreeblk_reset_subblock_info() call after each
filemgr_commit() call.

Change-Id: I194cbedb4d22b4929900e8becf11ce0b0c1beb43
Reviewed-on: http://review.couchbase.org/63617
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

2c23abfd02-May-2016 abhinavdangeti <abhinav@couchbase.com>

Suppress benign warning seen in staleblock.cc

Coverity scan shows this warning in stalelock.cc:373:
CID 102895: Null pointer dereferences (FORWARD_NULL)
Assigning: "doc.met

Suppress benign warning seen in staleblock.cc

Coverity scan shows this warning in stalelock.cc:373:
CID 102895: Null pointer dereferences (FORWARD_NULL)
Assigning: "doc.meta" = "NULL".

This shouldn't be a problem, however to suppress this
warning, the entire line of initializing doc.meta to NULL
can be removed as doc is already memset to 0x0.

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

show more ...

ae0a9c9602-May-2016 abhinavdangeti <abhinav@couchbase.com>

Check for validity of pointer before dereferencing

Context: iterator.cc: _fdb_iterator_seek_to_max_key

Change-Id: Ib075e88b5d3b8ba27a8842d6c937032a91e874c8
Reviewed-on: http://r

Check for validity of pointer before dereferencing

Context: iterator.cc: _fdb_iterator_seek_to_max_key

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

show more ...

34d1f13028-Apr-2016 Jung-Sang Ahn <jungsang.ahn@gmail.com>

MB-19173 Maintain in-memory stale block info

- Keep system docs that contain the list of stale regions in-memory
to skip scanning stale-block tree.

- After block reclaim, do not

MB-19173 Maintain in-memory stale block info

- Keep system docs that contain the list of stale regions in-memory
to skip scanning stale-block tree.

- After block reclaim, do not remove & free the remaining items from
'merge-tree', and reuse the items in the next block reclaim without
re-loading them from the corresponding system doc.

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

show more ...

8f7704f428-Apr-2016 abhinavdangeti <abhinav@couchbase.com>

[e2etest] Free pointer only if it has been allocated

Context: e2e_scan_compact_upto_test

Change-Id: If3bde82dfdab165fa8cf49b6ee6b4deb6817b79d
Reviewed-on: http://review.couchbas

[e2etest] Free pointer only if it has been allocated

Context: e2e_scan_compact_upto_test

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

show more ...

97bd381528-Apr-2016 Jung-Sang Ahn <jungsang.ahn@gmail.com>

MB-19286 Adjust 'bmp_revnum' for 'cur_alloc_bid'

- When a commit is invoked just before block reclaim, then the commit
header is located at the end of file and the current allocatable

MB-19286 Adjust 'bmp_revnum' for 'cur_alloc_bid'

- When a commit is invoked just before block reclaim, then the commit
header is located at the end of file and the current allocatable
block (cur_alloc_bid) is the first block in the bitmap. In this case,
BMP revision number (bmp_revnum) of commit header block is different
to that of 'cur_alloc_bid' block. However, 'last_commit_bmp_revnum'
is incorrectly set using the 'bmp_revnum' header block, thus
sb_bmp_is_writable() may return incorrect answer.

- To avoid this issue, just update 'bmp_revnum' once again in
filemgr_commit_bid(). This is the most simple way for this problem.

Change-Id: Ib2d56bb0bbe27e93493fffa1e6fc99f78b224d9f
Reviewed-on: http://review.couchbase.org/63350
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

97cfae5227-Apr-2016 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-19386 Use full 2 bytes for bitmap revision number in blk_meta

Since every document block has space for 2 bytes to store
the current bitmap revision number hash, we can employ the

MB-19386 Use full 2 bytes for bitmap revision number in blk_meta

Since every document block has space for 2 bytes to store
the current bitmap revision number hash, we can employ the
full 2 bytes as opposed to just 1 byte.
This change adjusts the bitmap mask to reflect the same.

Change-Id: I4fdc45610b527b78738b65da0f9ebb763db94808
Reviewed-on: http://review.couchbase.org/63511
Reviewed-by: Jung-Sang Ahn <jungsang.ahn@gmail.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

2b76aa1928-Apr-2016 Jung-Sang Ahn <jungsang.ahn@gmail.com>

Replace strerror_r() with strerror in logging reader-writer lock errors

Using strerror instead of strerror_r should be enough to log
any errors in reader-writer lock operations.

Replace strerror_r() with strerror in logging reader-writer lock errors

Using strerror instead of strerror_r should be enough to log
any errors in reader-writer lock operations.

Change-Id: Ib50a1c0adf8f52838ba6bc5e605dfc53483c451c
Reviewed-on: http://review.couchbase.org/63453
Reviewed-by: abhinav dangeti <abhinav@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

f238a29628-Apr-2016 Jung-Sang Ahn <jungsang.ahn@gmail.com>

MB-19322 Do not allow to scan snap markers beyond num_keeping_headers

- It might cause problem if user tries to do something using snap
marker that is already reclaimed but still not be

MB-19322 Do not allow to scan snap markers beyond num_keeping_headers

- It might cause problem if user tries to do something using snap
marker that is already reclaimed but still not be overwritten.

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

show more ...

a80d03ac28-Apr-2016 Jung-Sang Ahn <jungsang.ahn@gmail.com>

MB-19322 Tolerate checksum error in the delta phase of compact_upto

- When we scan a block that is an intermediate block of the series of
doc blocks (that is caused by circular scanning;

MB-19322 Tolerate checksum error in the delta phase of compact_upto

- When we scan a block that is an intermediate block of the series of
doc blocks (that is caused by circular scanning; when former part is
written at the end of file, and the latter part is written at the
beginning of the file), reading the first doc (offset 0) of the block
will cause checksum error.

- Since the doc block is already read by the previous scanning, we
can just ignore the checksum error (please refer to the comments
in _fdb_compact_move_delta()).

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

show more ...

208daa4027-Apr-2016 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-19398: Detect file handle sharing among multiple threads

fdb_commit() and fdb_compact() cannot share the same file
handle when invoked simultaneously from multiple threads.
Doing

MB-19398: Detect file handle sharing among multiple threads

fdb_commit() and fdb_compact() cannot share the same file
handle when invoked simultaneously from multiple threads.
Doing so can corrupt their root handle's docio readbuffer
causing various assertions/crashes. Detect this and return
HANDLE_BUSY error.

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

show more ...

c202315d22-Apr-2016 abhinavdangeti <abhinav@couchbase.com>

MB-19329: Addressing data races seen during bcache shutdown

[1] WARNING: ThreadSanitizer: data race (pid=16606)
Write of size 8 at 0x7d100020c0a8 by thread T2 (mutexes: write M10, writ

MB-19329: Addressing data races seen during bcache shutdown

[1] WARNING: ThreadSanitizer: data race (pid=16606)
Write of size 8 at 0x7d100020c0a8 by thread T2 (mutexes: write M10, write M15):
#0 list_remove /home/abhinav/couchbaseTS/forestdb/src/list.cc:89 (fdb_functional_test+0x000000624716)
#1 bcache_shutdown /home/abhinav/couchbaseTS/forestdb/src/blockcache.cc:1605 (fdb_functional_test+0x00000050dc8f)
#2 filemgr_shutdown /home/abhinav/couchbaseTS/forestdb/src/filemgr.cc:1758 (fdb_functional_test+0x0000005769ff)
#3 fdb_shutdown /home/abhinav/couchbaseTS/forestdb/src/forestdb.cc:7851 (fdb_functional_test+0x0000005c69a0)
#4 multi_thread_client_shutdown(void*) /home/abhinav/couchbaseTS/forestdb/tests/functional/fdb_functional_test.cc:2011 (fdb_functional_test+0x0000004d81f1)

Previous write of size 8 at 0x7d100020c0a8 by thread T1 (mutexes: write M23078079052191248, write M17):
#0 list_push_front /home/abhinav/couchbaseTS/forestdb/src/list.cc:34 (fdb_functional_test+0x000000623dfe)
#1 _bcache_release_freeblock(bcache_item*) /home/abhinav/couchbaseTS/forestdb/src/blockcache.cc:315 (fdb_functional_test+0x000000505972)
#2 bcache_remove_clean_blocks /home/abhinav/couchbaseTS/forestdb/src/blockcache.cc:1324 (fdb_functional_test+0x00000050b627)
#3 filemgr_free_func /home/abhinav/couchbaseTS/forestdb/src/filemgr.cc:1614 (fdb_functional_test+0x00000056ad37)
#4 filemgr_close /home/abhinav/couchbaseTS/forestdb/src/filemgr.cc:1567 (fdb_functional_test+0x00000057568b)
#5 _fdb_close /home/abhinav/couchbaseTS/forestdb/src/forestdb.cc:7299 (fdb_functional_test+0x0000005a309a)
#6 _fdb_close_root /home/abhinav/couchbaseTS/forestdb/src/forestdb.cc:7270 (fdb_functional_test+0x0000005a197c)
#7 fdb_close /home/abhinav/couchbaseTS/forestdb/src/forestdb.cc:7228 (fdb_functional_test+0x0000005c2d2f)
#8 multi_thread_client_shutdown(void*) /home/abhinav/couchbaseTS/forestdb/tests/functional/fdb_functional_test.cc:2008 (fdb_functional_test+0x0000004d8132)

[2] WARNING: ThreadSanitizer: data race (pid=3464)
Write of size 8 at 0x7db000000000 by thread T2 (mutexes: write M10, write M15):
#0 free <null> (fdb_functional_test+0x000000456f1b)
#1 bcache_shutdown /home/abhinav/couchbaseTS/forestdb/src/blockcache.cc:1620 (fdb_functional_test+0x0000004de9d6)
#2 filemgr_shutdown /home/abhinav/couchbaseTS/forestdb/src/filemgr.cc:1758 (fdb_functional_test+0x0000004f989b)
#3 fdb_shutdown /home/abhinav/couchbaseTS/forestdb/src/forestdb.cc:7851 (fdb_functional_test+0x0000005152af)
#4 multi_thread_client_shutdown(void*) /home/abhinav/couchbaseTS/forestdb/tests/functional/fdb_functional_test.cc:2011 (fdb_functional_test+0x0000004c87be)

Previous write of size 8 at 0x7db000000000 by thread T1 (mutexes: write M18):
#0 _fname_try_free(fnamedic_item*) /home/abhinav/couchbaseTS/forestdb/src/blockcache.cc:852 (fdb_functional_test+0x0000004ddccb)
#1 filemgr_free_func /home/abhinav/couchbaseTS/forestdb/src/filemgr.cc:1615 (fdb_functional_test+0x0000004f676f)
#2 filemgr_close /home/abhinav/couchbaseTS/forestdb/src/filemgr.cc:1567 (fdb_functional_test+0x0000004f927b)
#3 _fdb_close /home/abhinav/couchbaseTS/forestdb/src/forestdb.cc:7299 (fdb_functional_test+0x000000506bcb)
#4 _fdb_close_root /home/abhinav/couchbaseTS/forestdb/src/forestdb.cc:7270 (fdb_functional_test+0x000000506070)
#5 fdb_close /home/abhinav/couchbaseTS/forestdb/src/forestdb.cc:7228 (fdb_functional_test+0x000000513a5a)
#6 multi_thread_client_shutdown(void*) /home/abhinav/couchbaseTS/forestdb/tests/functional/fdb_functional_test.cc:2008 (fdb_functional_test+0x0000004c8767)

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

show more ...

b86dfa1622-Apr-2016 abhinavdangeti <abhinav@couchbase.com>

Address data race seen with static variable: fdb_initialized

WARNING: ThreadSanitizer: data race (pid=13543)
Write of size 1 at 0x00000168ca80 by thread T1 (mutexes: write M10):

Address data race seen with static variable: fdb_initialized

WARNING: ThreadSanitizer: data race (pid=13543)
Write of size 1 at 0x00000168ca80 by thread T1 (mutexes: write M10):
#0 fdb_init /home/abhinav/couchbaseTS/forestdb/src/forestdb.cc:737 (fdb_functional_test+0x000000590a77)
#1 fdb_open /home/abhinav/couchbaseTS/forestdb/src/forestdb.cc:800 (fdb_functional_test+0x000000590f34)
#2 multi_thread_client_shutdown(void*) /home/abhinav/couchbaseTS/forestdb/tests/functional/fdb_functional_test.cc:2006 (fdb_functional_test+0x0000004d8041)

Previous read of size 1 at 0x00000168ca80 by thread T2:
#0 fdb_init /home/abhinav/couchbaseTS/forestdb/src/forestdb.cc:688 (fdb_functional_test+0x00000059067a)
#1 fdb_open /home/abhinav/couchbaseTS/forestdb/src/forestdb.cc:800 (fdb_functional_test+0x000000590f34)
#2 multi_thread_client_shutdown(void*) /home/abhinav/couchbaseTS/forestdb/tests/functional/fdb_functional_test.cc:2006 (fdb_functional_test+0x0000004d8041)

Change-Id: Ibadddddcd173957c2adf476350f95c488764687f
Reviewed-on: http://review.couchbase.org/63235
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

84aa58e222-Apr-2016 abhinavdangeti <abhinav@couchbase.com>

MB-19321: Return FDB_RESULT_INVALID_HANDLE in case of null handles

+ Handling some missed scenarios

Change-Id: I8d76a9232304d69fd8ad63ff726d97bdb1709cee
Reviewed-on: http://revi

MB-19321: Return FDB_RESULT_INVALID_HANDLE in case of null handles

+ Handling some missed scenarios

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

show more ...

12345678910>>...53