History log of /6.0.3/forestdb/tools/ (Results 1 - 25 of 48)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
664c0dd505-Jan-2017 Sundar Sridharan <sundar.sridharan@gmail.com>

[BP] MB-22046: forestdb_dump --key must work on deleted keys too

Don't dump full header if a specific key or specific kv store
name is given. This is to aid testing code which is just

[BP] MB-22046: forestdb_dump --key must work on deleted keys too

Don't dump full header if a specific key or specific kv store
name is given. This is to aid testing code which is just
examining if a given key made it to the storage end.
Search by meta if search by key fails so that deleted keys
can be point searched too.

Change-Id: I460f663d5d7eab3ac89f814c12fb1be3c78c11ed
Reviewed-on: http://review.couchbase.org/79133
Reviewed-by: Jung-Sang Ahn <jungsang.ahn@gmail.com>
Tested-by: Sundararaman Sridharan <sundar@couchbase.com>

show more ...

Revision tags: v1.2, v1.1, v1.0
ce30d60a17-Feb-2016 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-17670 Improve error handling in doc I/O and its callers

This change adapts the return type of doc_io_read APIs to return appropriate
error codes to the callers, so that the callers ca

MB-17670 Improve error handling in doc I/O and its callers

This change adapts the return type of doc_io_read APIs to return appropriate
error codes to the callers, so that the callers can handle those errors
properly and return them to the clients.

Change-Id: I0665fe47150e0d690db7ffc38a202c70a422cd07

show more ...

34e10f8520-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 ...

f7a5b7a715-Feb-2016 Chiyoung Seo <chiyoung.seo@gmail.com>

Add a new API to return the version of a given ForestDB file

This change adds the new API fdb_get_file_version to return the string
representation of a ForestDB file version.

In

Add a new API to return the version of a given ForestDB file

This change adds the new API fdb_get_file_version to return the string
representation of a ForestDB file version.

In addition, this changes adds --header-only option to forestdb_dump tool
to print out the latest database header info including a file version.

$ ./forestdb_dump --header-only path_to_database_file

DB header info:
BID: 113 (0x71, byte offset: 462848)
DB header length: 88 bytes
DB header revision number: 5
DB file version: ForestDB v1.x format
...

Change-Id: I51e90bfb9aca3ae6c63db1292882f578f7e07cf0

show more ...

f1b7f68011-Feb-2016 Tommie McAfee <tahmmee@gmail.com>

removing in-repo micro-benchmark

Need to maintain benchmark tool outside of fdb reop
for the purposes of updating benchmark scenarios independently
so that we are not running differe

removing in-repo micro-benchmark

Need to maintain benchmark tool outside of fdb reop
for the purposes of updating benchmark scenarios independently
so that we are not running different versions of benchmark tool
when comparing against older versions of fdb.

maintained here:
https://github.com/couchbaselabs/fdbench-micro

Change-Id: Iaaad38118d17aa93f97d836b185690556a4dd1bf

show more ...

ded7dcfc15-Dec-2015 Tommie McAfee <tahmmee@gmail.com>

use percentage value as regression threshold

currently setting to 10% across all stats

Change-Id: I0cc3a89e75560dd697db9fad66d9c84f5dcfd124

19bb9a2e11-Nov-2015 Tommie McAfee <tommie@couchbase.com>

Redirect stderr during cleanup

StdErr can be safely ignored since it
implies environment is already clean.
The rm cmds are intended to ensure that we do not do
comparisions with

Redirect stderr during cleanup

StdErr can be safely ignored since it
implies environment is already clean.
The rm cmds are intended to ensure that we do not do
comparisions with old stats.

Change-Id: If359bfe2fd4e148675f608d1073412439aa233fa

show more ...

a1a85ae511-Nov-2015 Tommie McAfee <tommie@couchbase.com>

use forestdb subdir for jenkins override

Change-Id: I3768a7653867934e5b658309090309166eb9c709

dae80c6202-Nov-2015 Tommie McAfee <tommie@couchbase.com>

rename bench_report tool

avoid name conflict with bench db files which are deleted
between runs

Change-Id: I56a70a419e6ae810270780a6e91bf7a893717ad3

11c968c113-Oct-2015 Jung-Sang Ahn <jungsang.ahn@gmail.com>

MB-16219 Add stale block tree

- Add a new tree called 'stale-block tree'. It stores mapping info
from commit ID (revision number) to the offset of a system document
which contains st

MB-16219 Add stale block tree

- Add a new tree called 'stale-block tree'. It stores mapping info
from commit ID (revision number) to the offset of a system document
which contains stale range info.

Change-Id: I00801e4c0ae5999c45de5039bec95e933120a558

show more ...

b609b73e08-Oct-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-16407: return deleted doc count in kvs_info * file_info

Track deleted count as part of wal_flush and store in DB header
version it for backward compatbility.
test in scenarios lik

MB-16407: return deleted doc count in kvs_info * file_info

Track deleted count as part of wal_flush and store in DB header
version it for backward compatbility.
test in scenarios like rollback.

Change-Id:I64f12d29c0362e2668513dea21e46b09a44cf5d7

show more ...

baec829111-Sep-2015 Tommie McAfee <tommie@couchbase.com>

adding micro benchmark with timing

This component wraps api calls with latency calculations to provide
unit level performance metrics for help with catching regressions sooner.

adding micro benchmark with timing

This component wraps api calls with latency calculations to provide
unit level performance metrics for help with catching regressions sooner.

Creates standalone fdb_bench binary for viewing latency.

Addionally adds bench_report script to tools directory for
comparing latencies to previous commit or custom specified commit hash ie:
./bench_report.sh
./bench_report.sh <sha>

Change-Id: I74d17bc79ea1fe2dde7b93ccf835cccc0abb4b80

show more ...

e10259df07-Aug-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

small fixes to forestdb_hexamine

Change-Id: I78c74b9b0919c7ca3adba692e5f8046d96e0ea72

ec28c22f05-Aug-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-15913: New api to estimate disk space used by multiple snapshots

fdb_estimate_space_used_from() helps callers of
fdb_compact_upto() to estimate how much space is used in user
docu

MB-15913: New api to estimate disk space used by multiple snapshots

fdb_estimate_space_used_from() helps callers of
fdb_compact_upto() to estimate how much space is used in user
documents & indexes in a forestdb file over multiple persisted
snapshots.
Between every commit ForestDB now tracks amount of new
information written to the file in the kvstore stat and DB header.
The api then retrieves the deltas adding up to the estimate of space
used by multiple commit snapshots.
Add versioning support by extending FILEMGR_MAGIC

Change-Id: I59476f64744c760e8d0913f000b8d52ef6479c99

show more ...

60b4d2b509-Jul-2015 Chiyoung Seo <chiyoung.seo@gmail.com>

Reduce the filemgr lock contention in fdb_open()

This commit removes the unnecessary critical section synchronization
in fdb_open().

Change-Id: I07fd00f7c6ae0ea86e490f38fd5502a1

Reduce the filemgr lock contention in fdb_open()

This commit removes the unnecessary critical section synchronization
in fdb_open().

Change-Id: I07fd00f7c6ae0ea86e490f38fd5502a1cf9b5308

show more ...

2d5b425b07-Jul-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-12613: NULL ptr crash fix, static analyzer warnings

Encountered a crash in fdb_close() if passed in handle was NULL.
Return error to caller if compact_move_delta fails.
So fixed i

MB-12613: NULL ptr crash fix, static analyzer warnings

Encountered a crash in fdb_close() if passed in handle was NULL.
Return error to caller if compact_move_delta fails.
So fixed it along with a ~100 static analyzer warnings.

Change-Id: Id6d1c8efd749587e504541897a39ef253d9b3e55

show more ...

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

MB-14060 Use async I/O to move data blocks to a new file during the compaction

This change uses libaio in Linux to read data blocks from the old file
and move them to the new file during

MB-14060 Use async I/O to move data blocks to a new file during the compaction

This change uses libaio in Linux to read data blocks from the old file
and move them to the new file during the compaction.

We also plan to add the asynchronous I/O support for other OSs
(e.g., Windows, OSx).

Change-Id: I2ba7462291b17171fde06fe5887db8cd0cf76c39

show more ...

a0efc3b221-Apr-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

make forestdb_hexamine not go to newly compacted file

Change-Id: I81487fdacf70754bdc46d6e03d408f73f1058793

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

Fix a couple of minor compiler warnings on mac.

Change-Id: I88157423bf3e868f725c416c7969904c455e0fff

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

Fix some compile warnings related to type comparisons.

Change-Id: Ia929193c9f14978193e7b0baa9a63acd55ee1153

ebae733314-Apr-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

more debian compiler warnings fixed

Change-Id: I54bc79fe9a3a81a24855792f89417b450d4d49cf

575a6f7613-Apr-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

Compiler warnings fixes

Change-Id: If65fd3b81d2c22397f7dd958a2e2501c83845d35

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

Fix to the Windows build error.

Change-Id: Ie1c1b8971416c7a284d5a2fe371f7e80ab6535c7

0e686df209-Apr-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

add space between _F64 to fix build failures

Change-Id: I33d39417937bca8618f14bf57976286f118ea65b

1f60a5c908-Apr-2015 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-13701: Add tool forestdb_hexamine to debug fdb files

This tool will read all blocks into memory and endian_decode
DB header blocks for easy debugging of forestdb files in gdb.
Cha

MB-13701: Add tool forestdb_hexamine to debug fdb files

This tool will read all blocks into memory and endian_decode
DB header blocks for easy debugging of forestdb files in gdb.
Change-Id: Ic84bc559bfc8171450ac5b228fd264dea7a4682b

show more ...

12