]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/log
rocksdb.git
11 years agoMove logging outside of mutex rocksdb-3.6.1
Igor Canadi [Wed, 15 Oct 2014 17:57:43 +0000 (10:57 -0700)]
Move logging outside of mutex

11 years agoUpdate HISTORY for 3.6 v3.6.1
Igor Canadi [Tue, 7 Oct 2014 18:59:30 +0000 (11:59 -0700)]
Update HISTORY for 3.6

11 years agoSkipListRep::LookaheadIterator
Tomislav Novak [Tue, 23 Sep 2014 22:52:28 +0000 (15:52 -0700)]
SkipListRep::LookaheadIterator

Summary:
This diff introduces the `lookahead` argument to `SkipListFactory()`. This is an
optimization for the tailing use case which includes many seeks. E.g. consider
the following operations on a skip list iterator:

   Seek(x), Next(), Next(), Seek(x+2), Next(), Seek(x+3), Next(), Next(), ...

If `lookahead` is positive, `SkipListRep` will return an iterator which also
keeps track of the previously visited node. Seek() then first does a linear
search starting from that node (up to `lookahead` steps). As in the tailing
example above, this may require fewer than ~log(n) comparisons as with regular
skip list search.

Test Plan:
Added a new benchmark (`fillseekseq`) which simulates the usage pattern. It
first writes N records (with consecutive keys), then measures how much time it
takes to read them by calling `Seek()` and `Next()`.

   $ time ./db_bench -num 10000000 -benchmarks fillseekseq -prefix_size 1 \
      -key_size 8 -write_buffer_size $[1024*1024*1024] -value_size 50 \
      -seekseq_next 2 -skip_list_lookahead=0
   [...]
   DB path: [/dev/shm/rocksdbtest/dbbench]
   fillseekseq  :       0.389 micros/op 2569047 ops/sec;

   real    0m21.806s
   user    0m12.106s
   sys     0m9.672s

   $ time ./db_bench [...] -skip_list_lookahead=2
   [...]
   DB path: [/dev/shm/rocksdbtest/dbbench]
   fillseekseq  :       0.153 micros/op 6540684 ops/sec;

   real    0m19.469s
   user    0m10.192s
   sys     0m9.252s

Reviewers: ljin, sdong, igor

Reviewed By: igor

Subscribers: dhruba, leveldb, march, lovro

Differential Revision: https://reviews.facebook.net/D23997

11 years agoMerge pull request #342 from fyrz/java_makefile_fix
Igor Canadi [Tue, 7 Oct 2014 18:47:23 +0000 (11:47 -0700)]
Merge pull request #342 from fyrz/java_makefile_fix

RocksJava Makefile includes incorrect paths to version.h

11 years agoRocksJava Makefile includes incorrect paths to version.h
fyrz [Tue, 7 Oct 2014 18:43:04 +0000 (20:43 +0200)]
RocksJava Makefile includes incorrect paths to version.h

11 years agoLog RocksDB version
Igor Canadi [Tue, 7 Oct 2014 17:40:57 +0000 (10:40 -0700)]
Log RocksDB version

Summary: This will be much easier than reviewing git sha's we currently have in our LOGs

Test Plan: none

Reviewers: sdong, yhchiang, ljin

Reviewed By: ljin

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D24591

11 years agoadd db_test for changing memtable size
Lei Jin [Tue, 7 Oct 2014 17:40:45 +0000 (10:40 -0700)]
add db_test for changing memtable size

Summary:
The test only covers changing write_buffer_size. Other changable
parameters such bloom bits/probes are not obvious how to test.
Suggestions are welcome

Test Plan: db_test

Reviewers: sdong, yhchiang, igor

Reviewed By: igor

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D24429

11 years agoMerge pull request #318 from criccomini/master
ankgup87 [Tue, 7 Oct 2014 16:53:20 +0000 (09:53 -0700)]
Merge pull request #318 from criccomini/master

Build RocksDB JNI cross-platform fat jar

11 years agoFix error introduced by merge
Igor Canadi [Tue, 7 Oct 2014 16:47:16 +0000 (09:47 -0700)]
Fix error introduced by merge

11 years agoMerge pull request #340 from nbougalis/nullderef
Igor Canadi [Tue, 7 Oct 2014 16:48:21 +0000 (09:48 -0700)]
Merge pull request #340 from nbougalis/nullderef

Avoid dereferencing a null field

11 years agoMerge pull request #341 from fyrz/arc-lint
Igor Canadi [Tue, 7 Oct 2014 16:44:08 +0000 (09:44 -0700)]
Merge pull request #341 from fyrz/arc-lint

Removed code which prevents `arc lint` from working properly.

11 years agoRemoved code which prevents `arc lint` from working properly.
fyrz [Tue, 7 Oct 2014 15:40:19 +0000 (17:40 +0200)]
Removed code which prevents `arc lint` from working properly.

11 years agoAvoid dereferencing a null field
Nik Bougalis [Sat, 4 Oct 2014 21:38:37 +0000 (14:38 -0700)]
Avoid dereferencing a null field

11 years agoMerge pull request #270 from tdfischer/check-with-unity
Igor Canadi [Tue, 7 Oct 2014 06:07:07 +0000 (23:07 -0700)]
Merge pull request #270 from tdfischer/check-with-unity

Build unity build on make check

11 years agoupdate release readme
Chris Riccomini [Mon, 6 Oct 2014 15:24:51 +0000 (08:24 -0700)]
update release readme

11 years agofix java doc directory in git ignore
Chris Riccomini [Mon, 6 Oct 2014 15:23:31 +0000 (08:23 -0700)]
fix java doc directory in git ignore

11 years agomerge master to resolve merge conflicts
Chris Riccomini [Mon, 6 Oct 2014 15:22:55 +0000 (08:22 -0700)]
merge master to resolve merge conflicts

11 years agomake publish jni jars depend on release jni jars
Chris Riccomini [Mon, 6 Oct 2014 15:20:56 +0000 (08:20 -0700)]
make publish jni jars depend on release jni jars

11 years agoMerge pull request #335 from fyrz/version-script-cross-platform
Igor Canadi [Sat, 4 Oct 2014 18:58:07 +0000 (11:58 -0700)]
Merge pull request #335 from fyrz/version-script-cross-platform

Cross-platform fix version.sh