]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/log
rocksdb.git
10 years agoTSAN: avoid new link failure with -pg v3.10
Jim Meyering [Wed, 25 Mar 2015 21:40:41 +0000 (14:40 -0700)]
TSAN: avoid new link failure with -pg

Summary:
* Makefile (COMPILE_WITH_TSAN): Avoid a link failure by disabling
-pg when building with TSAN enabled.
Now that "make check" builds all $(PROGRAMS), it is linking
a few programs that were not normally linked before.
For example, this would fail to link with the following diagnostic:

  COMPILE_WITH_TSAN=1 make -j40 log_and_apply_bench

    CCLD     log_and_apply_bench
  ld: /usr/lib/../lib64/gcrt1.o: relocation R_X86_64_32S against `__libc_csu_fini' can not be used when making a shared object; recompile with -fPIC
  /usr/lib/../lib64/gcrt1.o: error adding symbols: Bad value
  collect2: error: ld returned 1 exit status
  Makefile:511: recipe for target 'log_and_apply_bench' failed
  make: *** [log_and_apply_bench] Error 1

Since removing -pg is sufficient to get past this link
failure, and no one cares about profiling TSAN-enabled
binaries anyway, we will refrain from linking with -pg
when TSAN testing is enabled.  Use a new variable, "pg"
which is set to "-pg" in most cases, but that is made
empty when COMPILE_WITH_TSAN is set.

Test Plan:
  Now, this succeeds:

    rm -f log_and_apply_bench
    COMPILE_WITH_TSAN=1 make -j40 log_and_apply_bench

Reviewers: igor.sugak, rven, sdong, ljin, igor

Reviewed By: igor

Subscribers: dhruba

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

10 years agoAdd a missing section title in HISTORY.md
Yueh-Hsuan Chiang [Wed, 25 Mar 2015 21:14:26 +0000 (14:14 -0700)]
Add a missing section title in HISTORY.md

Summary:
Add a missing section title in HISTORY.md

Test Plan:
no code change

10 years agoFixed a typo in RocksDBSample.java
Yueh-Hsuan Chiang [Wed, 25 Mar 2015 18:08:08 +0000 (11:08 -0700)]
Fixed a typo in RocksDBSample.java

Summary:
Fixed a typo in RocksDBSample.java

Test Plan:
make clean
make rocksdbjava -j32
make jtest

10 years agobuild: cause the "check" rule to depend on $(PROGRAMS)
Jim Meyering [Wed, 25 Mar 2015 05:09:40 +0000 (22:09 -0700)]
build: cause the "check" rule to depend on $(PROGRAMS)

Summary:
* Makefile (check): Cause "make check" to build all $(PROGRAMS),
so that it verifies that the few benchmark-only source files that
not already built via "make check" do compile and link successfully.

Test Plan:
run "make clean; make check", and verify that
table/table_reader_bench.cc is now compiled.
Before, it was not, which led to an incomplete fix
for a build break.

Reviewers: ljin, igor.sugak, rven, igor, sdong

Reviewed By: sdong

Subscribers: dhruba

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

10 years agoMerge branch 'master' of github.com:facebook/rocksdb
Anurag Indu [Wed, 25 Mar 2015 00:00:41 +0000 (17:00 -0700)]
Merge branch 'master' of github.com:facebook/rocksdb

10 years agoFix build
Anurag Indu [Tue, 24 Mar 2015 23:53:49 +0000 (16:53 -0700)]
Fix build

Test Plan: Running make all

Reviewers: sdong

Reviewed By: sdong

Subscribers: rven, yhchiang, igor, meyering, dhruba

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

10 years agoUpdate HISTORY.md for 3.10.0
Yueh-Hsuan Chiang [Tue, 24 Mar 2015 23:39:39 +0000 (16:39 -0700)]
Update HISTORY.md for 3.10.0

Summary: Update HISTORY.md for 3.10.0

Test Plan: no code chagne.

Reviewers: sdong, rven, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

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

10 years agoMerge branch 'master' of github.com:facebook/rocksdb
Anurag Indu [Tue, 24 Mar 2015 23:27:39 +0000 (16:27 -0700)]
Merge branch 'master' of github.com:facebook/rocksdb

10 years agoFixing build issue
Anurag Indu [Tue, 24 Mar 2015 22:06:09 +0000 (15:06 -0700)]
Fixing build issue

Summary: Fixing issues with get context function.

Test Plan: Run make commit-prereq

Reviewers: sdong, meyering, yhchiang

Reviewed By: sdong

Subscribers: dhruba

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

10 years agoMerge pull request #555 from pshareghi/staticLZ4
Yueh-Hsuan Chiang [Tue, 24 Mar 2015 22:39:42 +0000 (15:39 -0700)]
Merge pull request #555 from pshareghi/staticLZ4

[RocksJava] Added static lz4 support for roccksjavastatic

10 years agoMerge pull request #556 from fyrz/RocksJava-Maven-Fix
Yueh-Hsuan Chiang [Tue, 24 Mar 2015 21:58:00 +0000 (14:58 -0700)]
Merge pull request #556 from fyrz/RocksJava-Maven-Fix

[RocksJava] Maven build fix

10 years agoFix compile error when NROCKSDB_THREAD_STATUS is not used.
Yueh-Hsuan Chiang [Tue, 24 Mar 2015 21:50:32 +0000 (14:50 -0700)]
Fix compile error when NROCKSDB_THREAD_STATUS is not used.

Summary: Fix compile error when NROCKSDB_THREAD_STATUS is not used.

Test Plan: make dbg OPT=-DNROCKSDB_THREAD_STATUS -j32

Reviewers: sdong, igor, rven

Subscribers: dhruba, leveldb

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

10 years ago[RocksJava] Maven build fix
fyrz [Tue, 24 Mar 2015 21:52:30 +0000 (22:52 +0100)]
[RocksJava] Maven build fix

10 years agoAdded static lz4 support for roccksjavastatic
Pooya Shareghi [Tue, 24 Mar 2015 17:40:00 +0000 (10:40 -0700)]
Added static lz4 support for roccksjavastatic

Usage:
make clean rocksdbjavastatic

Dependency:
LZ4

To install LZ4:
git clone https://github.com/Cyan4973/lz4.git && \
cd lz4/lib && \
make install

Alternativel installation method:
curl -O https://codeload.github.com/Cyan4973/lz4/tar.gz/r127
mv r127 lz4-r127.tar.gz
tar xvzf lz4-r127.tar.gz
cd lz4-r127/lib && \
make install

Signed-off-by: Pooya Shareghi <shareghi@gmail.com>
10 years agoMerge pull request #545 from fyrz/RocksJava-Level-Compression
Yueh-Hsuan Chiang [Tue, 24 Mar 2015 19:14:09 +0000 (12:14 -0700)]
Merge pull request #545 from fyrz/RocksJava-Level-Compression

[RocksJava] Add compression per level to API