- 27 Aug, 2019 1 commit
-
-
yiwu-arbug authored
Summary: Update the code to base off RocksDB 6.4.x. There are a few internal interface changes and files moving around from 5.18 to 6.4. titandb_bench is also updated to base off the version in 6.4.x. Test Plan: Travis
-
- 20 Aug, 2019 2 commits
-
-
yiwu-arbug authored
Summary: We require passing `ROCKSDB_DIR` to cmake command, which is not easy to use. Update cmake script to make it clone rocksdb (currently pointing to pingcap/rocksdb tikv-3.0 branch) to make development use easier. Test Plan: local test + travis
-
YangKeao authored
* Add benchmark script
-
- 05 Aug, 2019 1 commit
-
-
Wu Jiayu authored
Limit Titan blob file read IO with rate_limiter, to avoid burst of IO starve online workloads.
-
- 31 Jul, 2019 1 commit
-
-
Glitter authored
-
- 29 Jul, 2019 2 commits
-
-
Glitter authored
* trigger next gc after gc if needed
-
yiwu-arbug authored
Signed-off-by:
Yi Wu <yiwu@pingcap.com>
-
- 25 Jul, 2019 3 commits
-
-
Glitter authored
* check status of BatchFinishFile
-
Connor authored
* update discardable size before delete files in range Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
Glitter authored
Because db is locked when add/sub bg_gc_scheduled_, so this variable is no need to be atomic
-
- 22 Jul, 2019 2 commits
-
-
Wu Jiayu authored
-
Connor authored
* check edits before written to manifest Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
- 18 Jul, 2019 1 commit
-
-
Wu Jiayu authored
- Set background error if encountered a critical error. Now it's set for two cases - BackgroundGC() error - LogAndApply() error after generate new blob file - If background error is set, all following foreground write operations will be refused and return background error status
-
- 16 Jul, 2019 2 commits
-
-
Wu Jiayu authored
- There is no libatomic in MacOS clang(and maybe some other environment), so check if libatomic existed before link. - Added MacOS build to travis. For TSAN build , a unused-command-line-argument is defined in RocksDB cmake file, witch will fail compilation on MacOS, skip it.
-
Wu Jiayu authored
* fix iterator * fix * fmt
-
- 11 Jul, 2019 2 commits
-
-
Connor authored
* schedule gc to bottom priority pool Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
Connor authored
Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
- 28 Jun, 2019 1 commit
-
-
yiwu-arbug authored
Summary: * Add `GetTitanOptions()` and `GetTitanDBOptions()` API. * Fix `SetOptions()` fail when `blob_run_mode` is not set. * Update info log around printing options. Test Plan: Updated test. Signed-off-by:
Yi Wu <yiwu@pingcap.com>
-
- 26 Jun, 2019 1 commit
-
-
yiwu-arbug authored
Summary: Adding some more info log logging to track blob file live cycle. Test Plan: Existing test. Signed-off-by:
Yi Wu <yiwu@pingcap.com>
-
- 24 Jun, 2019 8 commits
-
-
yiwu-arbug authored
-
Connor authored
* fix version set log Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
Connor authored
* introduce edit collector Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
yiwu-arbug authored
* Eliminate use of abort() Signed-off-by:
Yi Wu <yiwu@pingcap.com>
-
yiwu-arbug authored
Summary: On `TitanDBImpl::Open` we open rocksdb twice, and the first time is just to get list of CFs and construct table factory. Compaction can run at this point, generating SST files without custom table property. This can cause problem later on, since `OnCompactionCompleted` assume the property always exist and even use it to detect new blob file generated from the compaction. This patch disable auto compaction for the first rocksdb open to avoid such problem. The test shown here demo the issue without disabling compaction: https://gist.github.com/yiwu-arbug/34c561d0daf4f9c293bb7b2825d77bf2 Test Plan: Existing tests Signed-off-by:
Yi Wu <yiwu@pingcap.com>
-
yiwu-arbug authored
Summary: In fallback mode, table builder will try to read value from blob file and write the value back to LSM. If the corresponding blob file had been GC-ed and deleted, however, table builder will return error and fail compaction. Fixing it by writing the blob index to output if table builder get error when reading blob value. Test Plan: See the new test. Signed-off-by:
Yi Wu <yiwu@pingcap.com>
-
yiwu-arbug authored
Summary: Log Titan options on DB open. Sample: https://gist.github.com/yiwu-arbug/52720461651ad7019657d0dda3c50311 Also add logging around create CF/drop CF/destroy CF handle/set option. Test Plan: Run tests and look at the logs. Signed-off-by:
Yi Wu <yiwu@pingcap.com>
-
Connor authored
Override `Iterator* NewIterator(const ReadOptions& opts)`, otherwise, due to implicit casting, calling `db.NewIterator(TitanReadOptions::new())` will lead to a Rocksdb's iterator instead of Titan's. Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
- 23 Jun, 2019 1 commit
-
-
Connor authored
* add key only iter option Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
- 19 Jun, 2019 1 commit
-
-
Connor authored
Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
- 17 Jun, 2019 1 commit
-
-
Yuan authored
-
- 14 Jun, 2019 1 commit
-
-
siddontang authored
Signed-off-by:
siddontang <siddontang@gmail.com>
-
- 13 Jun, 2019 2 commits
-
-
siddontang authored
Signed-off-by: siddontang siddontang@gmail.com Copy from https://github.com/facebook/rocksdb/blob/master/CMakeLists.txt#L210
-
yiwu-arbug authored
Signed-off-by:
Yi Wu <yiwu@pingcap.com>
-
- 05 Jun, 2019 1 commit
-
-
Xinye Tao authored
* Add Titan internal stats * add metrics for blob monitoring * add override quantifier * address comments * fix minor issue * address comments * address comments * address comments * merge master * turn on test output * fix merge issue * fix segfault in background gc * fix loop * remove loop
-
- 04 Jun, 2019 1 commit
-
-
Xinye Tao authored
* Add blob-run-mode for downgrading Titan * fix format issue * address comment * change string req to kabab-case * address comments * address comments * fix bug from merge * address comments * address comments * address comments * address comment * address comment * pick comments from mutex-fix * remove mutex fix * fix mutex issue in blob storage
-
- 03 Jun, 2019 1 commit
-
-
Xinye Tao authored
Add thread_safety_test to catch data race issues around CF add/drop and GC.
-
- 25 May, 2019 1 commit
-
-
Tesla Ice Zhang authored
* Simplify CMake script Signed-off-by:
ice1000 <ice1000kotlin@foxmail.com> * Exclude tests Signed-off-by:
ice1000 <ice1000kotlin@foxmail.com>
-
- 24 May, 2019 1 commit
-
-
Connor authored
* add metrics Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
- 16 May, 2019 1 commit
-
-
yiwu-arbug authored
* change codecov comment style Signed-off-by:
Yi Wu <yiwu@pingcap.com>
-
- 15 May, 2019 1 commit
-
-
Xinye Tao authored
Add an uint64 test flag `min-blob-size` for Titan in titandb_bench and titandb_stress tests.
-