- 16 Sep, 2019 2 commits
-
-
Connor authored
* rename version_set to blob_set Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
Connor authored
Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
- 13 Sep, 2019 1 commit
-
-
Wu Jiayu authored
* In table builder, if target level is last two level, write values of lower level to new blob files. Signed-off-by:
wujy-cs <wujy.cs@gmail.com>
-
- 12 Sep, 2019 1 commit
-
-
Wu Jiayu authored
-
- 11 Sep, 2019 1 commit
-
-
Connor authored
* add smallest_key and largest_key * add number of file entires and file's level to blob file meta Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
-
- 04 Sep, 2019 1 commit
-
-
yiwu-arbug authored
Summary: Add stats for read/write bytes and input/output file of internal operations and break down by operation type (being flush, compaction or GC). Later after we introduce vtable we can further breakdown compaction into top levels compaction, L_n-1 compaction and Ln compaction. Test Plan: Run db_bench and get sample output: ``` 2019/08/29-23:49:29.593805 7f6fd97fa700 (Original Log Time 2019/08/29-23:49:29.593742) Titan internal stats for column family [default]: 2019/08/29-23:49:29.593813 7f6fd97fa700 (Original Log Time 2019/08/29-23:49:29.593753) OP COUNT READ(GB) WRITE(GB) IO_READ(GB) IO_WRITE(GB) FILE_IN FILE_OUT 2019/08/29-23:49:29.593821 7f6fd97fa700 (Original Log Time 2019/08/29-23:49:29.593760) --------------------------------------------------------------------------------- 2019/08/29-23:49:29.593830 7f6fd97fa700 (Original Log Time 2019/08/29-23:49:29.593768) Flush 3 0.0 34.7 0.0 18.0 0 3 2019/08/29-23:49:29.593839 7f6fd97fa700 (Original Log Time 2019/08/29-23:49:29.593784) Compaction 1 0.0 0.0 0.0 0.0 0 0 2019/08/29-23:49:29.593848 7f6fd97fa700 (Original Log Time 2019/08/29-23:49:29.593793) GC 1 360.9 1.3 354.3 2.8 8 0 ```
-
- 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
-