History log of /6.0.3/forestdb/ (Results 551 - 575 of 1302)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5e6cd24210-May-2015 Chiyoung Seo <chiyoung@couchbase.com>

Merge "Add support for FreeBSD"


64620df509-May-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
MB-14060 Make writer lock probability configurable.

Change-Id: I1fd6961996dfbfa51f99014ae369d447ad02b828


b5b1166e06-May-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-14060 Make writer lock probability configurable.

This change introduces the maximum probability (range: 20% ~ 100%) for
the compactor to grab the writer's lock during each batch write

MB-14060 Make writer lock probability configurable.

This change introduces the maximum probability (range: 20% ~ 100%) for
the compactor to grab the writer's lock during each batch write in case
the writer's throughput is faster than the compactor, to make sure that
the compactor can keep pace with the writer and eventually complete the
compaction.

Note that we plan to reduce the compaction overhead significantly soon
and deprecate this parameter when it is not needed anymore.

Change-Id: I526dc2b0b7e8caa0d4c7329c7882c7502e9e9953

show more ...

81d912ca08-May-2015 Trond Norbye <trond.norbye@gmail.com>

Add support for FreeBSD

Change-Id: I7cc126ccf96c949a12f3068c512bf5656b354322

212d9c8608-May-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
MB-14808: fix crash in _bcache_evict race with bcache_remove_file

Change-Id: I1881a0151b3945e70c539a9e2e94864

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
MB-14808: fix crash in _bcache_evict race with bcache_remove_file

Change-Id: I1881a0151b3945e70c539a9e2e94864b0164a8e3

show more ...


7e3e556708-May-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-14808: fix crash in _bcache_evict race with bcache_remove_file

In _bcache_evict() fileA picks fileB as victim, and just then fileB
is closed. Crash happens in _bcache_evict as it acce

MB-14808: fix crash in _bcache_evict race with bcache_remove_file

In _bcache_evict() fileA picks fileB as victim, and just then fileB
is closed. Crash happens in _bcache_evict as it accesses freed memory

Use ref_counters and file_zombies list to delay deletions if file is
in use. Garbage collect file_zombies list on open, close and shutdown

Change-Id: If4f3015bfcd2db720408df334c981ba59ca99efb

show more ...

4676ec0107-May-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-13288: fdb_kvs_rollback_all to rollback all KV stores

File level api that will rollback all kv instances to a
prior commit point specified by a snapshot marker.
Change-Id: I2be184

MB-13288: fdb_kvs_rollback_all to rollback all KV stores

File level api that will rollback all kv instances to a
prior commit point specified by a snapshot marker.
Change-Id: I2be184d812bb59160688786a6bb6bbb14e312a37

show more ...

b6f9fe0704-May-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
MB-14799: init several atomic variables before use

Change-Id: If640b76920f4e6e39ec2ce9aa5c22d2e3677227c


4d2e5d9804-May-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-14799: init several atomic variables before use

Change-Id: I624d970d1b2f8cfb0e6270006af28ff877151500

f3aa771804-May-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
MB-14060 Disable synchronous commit for each commit header in fdb_compact_upto
MB-14060 Adjust writer lock proba

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
MB-14060 Disable synchronous commit for each commit header in fdb_compact_upto
MB-14060 Adjust writer lock probability for each batch write during compaction
MB-14060 Start the second phase of compaction with 20% of lock probability.

Change-Id: Ic160c40d01a25d3f77440ab1fadc53b07f4e9a4d

show more ...


b4fd1a3304-May-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-14060 Disable synchronous commit for each commit header in fdb_compact_upto

If synchrouns commit is enabled, then disable it temporarily for each
commit header in fdb_compact_upto as

MB-14060 Disable synchronous commit for each commit header in fdb_compact_upto

If synchrouns commit is enabled, then disable it temporarily for each
commit header in fdb_compact_upto as synchronous commit is not required in
the new file during the compaction.

Change-Id: If6fa219cc548f0df4b36b6c66c54ee494a905c14

show more ...

8239823804-May-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-14060 Adjust writer lock probability for each batch write during compaction

This change makes sure that the writer lock probability should be also
adjusted for each batch write by com

MB-14060 Adjust writer lock probability for each batch write during compaction

This change makes sure that the writer lock probability should be also
adjusted for each batch write by compactor during the second phase of
compaction. Each catch-up iteration during the second phase of compaction
might take a long time in case of a large file and write-heavy use case.
Therefore, it would be better to support a more fine-grainded writer lock
probability adjustment.

Change-Id: I768d8fa71db9cd64e0ccc0c01641832ead24af14

show more ...

b0e77e5f03-May-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-14060 Start the second phase of compaction with 20% of lock probability.

If the current probability is zero after the first phase of compaction,
then start the second phase of compact

MB-14060 Start the second phase of compaction with 20% of lock probability.

If the current probability is zero after the first phase of compaction,
then start the second phase of compaction with 20% of probability to allow
compaciton to catch up with the writer in case their throughput remains
the same approximately during the entire compaction period. Otherwise,
the compaction might not be able to catch up and run forever.

Change-Id: I043b40cc4fbfc641257a3767e7e624704e5df660

show more ...

0b4e6a8303-May-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
MB-14060 Use probabilistic approach for blocking writer during compaction
Fix memory leak of config_test() in fd

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
MB-14060 Use probabilistic approach for blocking writer during compaction
Fix memory leak of config_test() in fdb_functional_test.cc

Change-Id: Ib8fc9dec7033a859321b406c78c15b588ad84ccb

show more ...


d24dc9cc02-May-2015 Jung-Sang Ahn <jungsang.ahn@gmail.com>

MB-14060 Use probabilistic approach for blocking writer during compaction

- Define a probability variable P, where writer is not blocked when
P is 0, and writer is always blocked when P

MB-14060 Use probabilistic approach for blocking writer during compaction

- Define a probability variable P, where writer is not blocked when
P is 0, and writer is always blocked when P is 100.

- P is initialized to zero at the beginning of compaction, and
gradually increased if writer is faster a certain threshold. It is
also gradually decreased if writer is too slow.

- By using this probabilistic approach, slow writer is not blocked,
while fast writer (such as asynchronous full speed write) gets slow
down properly.

Change-Id: I4b06644f7042b812138017f12e704c9f202df47f

show more ...

3667a15902-May-2015 Jung-Sang Ahn <jungsang.ahn@gmail.com>

Fix memory leak of config_test() in fdb_functional_test.cc

Change-Id: If4c881f2a085ac4a75ea537c8329d5305424e846

c8d9d23802-May-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
MB-14060 Adapt compactor to grab the old file's lock for each batch doc move.

Change-Id: I654637b8c13fc2fd895

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
MB-14060 Adapt compactor to grab the old file's lock for each batch doc move.

Change-Id: I654637b8c13fc2fd895cbc554704211e3b2dd1da

show more ...


3574536201-May-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-14060 Adapt compactor to grab the old file's lock for each batch doc move.

This commit changes the compactor's behavior, such that the compactor
explicitly grabs the old file's lock f

MB-14060 Adapt compactor to grab the old file's lock for each batch doc move.

This commit changes the compactor's behavior, such that the compactor
explicitly grabs the old file's lock for each batch doc move. This shows
better behaviors in balancing the normal writer and compactor performance.

In addition, we increase the compaction batch size to 128K to improve
the compaction performance.

Change-Id: I2139d9bdda9b7f56310ad1efc17eccb1ef542677

show more ...

221ebe4130-Apr-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

Adapt get_buffer_cache_used and get_space_used APIs to have numeric return type

Change-Id: I4af5cdeb37f3bf15d6800a93bb8d5c66eae897a0

e28501b330-Apr-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

Merge remote-tracking branch 'origin/sherlock'

Change-Id: I7d01d22089301b419b0ea538cf9c64dc8d5da001


939edfb530-Apr-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
crash recovery with transactions
offset access test

Change-Id: Ic4786dd96c06a49e21d528ec1c93edab29b56ae5


8276b2e029-Apr-2015 Tommie McAfee <tommie@couchbase.com>

crash recovery with transactions

simulates crash after transaction start.
then after recovery a new transaction is started but aborted.
the verification phase expects that writes fro

crash recovery with transactions

simulates crash after transaction start.
then after recovery a new transaction is started but aborted.
the verification phase expects that writes from
original transaction can be recovered

Change-Id: Ia6d8fc9eceb707cd8e04cd7e5dbe5511e5fc6221

show more ...

74aa0aa925-Apr-2015 Tommie McAfee <tommie@couchbase.com>

offset access test

Change-Id: I5de171a7feaafcbc244c34a273c417fa870a66dc

5cea8b8530-Apr-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
MB-14060 Interleave compactor and normal writer through the old file's lock.
MB-14253: Operational Stats for For

Merge remote-tracking branch 'origin/sherlock'

* origin/sherlock:
MB-14060 Interleave compactor and normal writer through the old file's lock.
MB-14253: Operational Stats for ForestDB CRUD apis
MB-14592: Add fdb_get_buffer_cache_used()
Update freelist_count on bcache_shutdown
MB-14769: fix crash_recovery test to handle walflush case
wal flush option for recovery test
test rollback and drop with 1024 kvs
test 1024 kvs across 8 dbfiles
Init the pointer to NULL for safe free() operation.

Change-Id: I30f180e5fc2024d821ceaac9598ed3dedd9e5db6

show more ...


c30e7c9d30-Apr-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-14060 Interleave compactor and normal writer through the old file's lock.

From the write-heavy tests, we observed that the compactor occasionally can't
catch up with the normal writer

MB-14060 Interleave compactor and normal writer through the old file's lock.

From the write-heavy tests, we observed that the compactor occasionally can't
catch up with the normal writer during the second phase of the compaction.

As a short-term solution, this change forces the compactor and writer to
interleave through the old file's lock, so that the compactor can catch up
with the writer in write-heavy use cases. We plan to address this issue
without affecting the writer performance in the future.

Change-Id: I69b25a7a7f5833089c77960e6c3e68355a66dc3f

show more ...

1...<<21222324252627282930>>...53