- 28 10月, 2014 16 次提交
-
-
由 Yueh-Hsuan Chiang 提交于
[RocksJava] Minor correction to the previous pull request merge
-
由 Yueh-Hsuan Chiang 提交于
Added merge operators to RocksJava
-
由 fyrz 提交于
-
由 Yueh-Hsuan Chiang 提交于
[RocksJava] - Hardening RocksIterator
-
由 fyrz 提交于
-
由 Igor Canadi 提交于
-
由 fyrz 提交于
RocksIterator will sometimes Sigsegv on dispose. Mainly thats related to dispose order. If the related RocksDB instance is freed beforehand RocksIterator.dispose() will fail. Within this commit there is a major change to RocksIterator. RocksIterator will hold a private reference to the RocksDB instance which created the RocksIterator. So even if RocksDB is freed in the same GC cycle the RocksIterator instances will be freed prior to related RocksDB instances. Another aspect targets the dispose logic if the RocksDB is freed previously and already gc`ed. On dispose of a RocksIterator the dispose logic will check if the RocksDB instance points to an initialized DB. If not the dispose logic will not perform any further action. The crash can be reproduced by using the related test provided within this commit. Related information: This relates to @adamretter`s facebook rocksdb-dev group post about SigSegv on RocksIterator.dispose().
-
由 Igor Canadi 提交于
-
由 Igor Canadi 提交于
-
由 Yueh-Hsuan Chiang 提交于
[RocksJava] Support Snapshots
-
由 Igor Canadi 提交于
Summary: RocksDB already depends on C++11, so we might as well all the goodness that C++11 provides. This means that we don't need AtomicPointer anymore. The less things in port/, the easier it will be to port to other platforms. Test Plan: make check + careful visual review verifying that NoBarried got memory_order_relaxed, while Acquire/Release methods got memory_order_acquire and memory_order_release Reviewers: rven, yhchiang, ljin, sdong Reviewed By: ljin Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D27543
-
由 Igor Canadi 提交于
RocksJava Fix after MutableCFOptions change. (relates to f1841985)
-
由 fyrz 提交于
-
由 Lei Jin 提交于
Summary: Allow SetOptions() during db_stress test Test Plan: make crash_test Reviewers: sdong, yhchiang, rven, igor Reviewed By: igor Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D25497
-
由 Lei Jin 提交于
Summary: Make inplace_update_support and inplace_update_num_locks dynamic. inplace_callback becomes immutable We are almost free of references to cfd->options() in db_impl Test Plan: unit test Reviewers: igor, yhchiang, rven, sdong Reviewed By: sdong Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D25293
-
由 Vlad Balan 提交于
-
- 26 10月, 2014 1 次提交
-
-
由 fyrz 提交于
-
- 25 10月, 2014 5 次提交
-
-
由 fyrz 提交于
Summary: Snapshots integration into RocksJava. Added support for the following functionalities: - getSnapshot - releaseSnapshot - ReadOptions support to set a Snapshot - ReadOptions support to retrieve Snapshot - SnapshotTest Test Plan: make rocksdbjava make jtest Differential Revision: https://reviews.facebook.net/D24801
-
由 Yueh-Hsuan Chiang 提交于
Fix issues introduced by latest Java additions
-
由 Yueh-Hsuan Chiang 提交于
[RocksJava] Memtables update to 3.6
-
由 Igor Canadi 提交于
-
由 Igor Canadi 提交于
Summary: Since we depend on C++11, we might as well use it for timing, instead of this platform-depended code. Test Plan: Ran autovector_test, which reports time and confirmed that output is similar to master Reviewers: ljin, sdong, yhchiang, rven, dhruba Reviewed By: dhruba Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D25587
-
- 24 10月, 2014 16 次提交
-
-
由 sdong 提交于
Summary: D24513 introduced a bug that a variable is not initialized. It also causes valgrind issue. Test Plan: Run tests used to fail valgrind and make sure it passes Reviewers: yhchiang, ljin, igor Reviewed By: igor Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D25569
-
由 Yueh-Hsuan Chiang 提交于
Summary: Previously, the log for Universal Compaction does not include the current number of files in case the compaction is triggered by the number of files. This diff includes the number of files in the log. Test Plan: make
-
由 Lei Jin 提交于
Summary: as title Test Plan: make release
-
由 Igor Canadi 提交于
-
由 Lei Jin 提交于
Summary: as title Test Plan: unit test Reviewers: sdong, yhchiang, rven, igor Reviewed By: igor Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D25347
-
由 Lei Jin 提交于
Summary: as title Test Plan: n/a Reviewers: yhchiang, sdong, igor Reviewed By: igor Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D24963
-
由 Lei Jin 提交于
Summary: This is not a critical options. Making it dynamic so that we can remove more reference to cfd->options() Test Plan: unit test Reviewers: yhchiang, sdong, igor Reviewed By: igor Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D24957
-
由 fyrz 提交于
-
由 fyrz 提交于
-
由 fyrz 提交于
- Adjusted HashLinkedList to 3.6.0 - Adjusted SkipList to 3.6.0 - Introduced a memtable test
-
由 Igor Canadi 提交于
-
由 Igor Canadi 提交于
Added Java build and tests to Travis-CI build
-
由 Adam Retter 提交于
-
由 Igor Canadi 提交于
-
由 Igor Canadi 提交于
Fix for building RocksDB Java on Mac OS X Yosemite
-
由 Yueh-Hsuan Chiang 提交于
Summary: When VersionEdit fails in kNewFile3, previously it logs "new-file2 entry". However, it should be "new-file3 entry." Test Plan: make
-
- 23 10月, 2014 2 次提交
-
-
由 Adam Retter 提交于
-
由 sdong 提交于
Summary: Now --bench_size is only used in multireadrandom tests, although the codes allow it to run in all write tests. I don't see a reason why we can't enable it. Test Plan: Run ./db_bench -benchmarks multirandomwrite --threads=5 -batch_size=16 and see the stats printed out in LOG to make sure batching really happened. Reviewers: ljin, yhchiang, rven, igor Reviewed By: igor Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D25509
-