1. 03 Jul, 2019 1 commit
    • yiwu-arbug's avatar
      Fix Titan portable build (#312) · c503e736
      yiwu-arbug authored
      Fix build script not passing portable flag to titan.
      
      Tested by build with `cargo build -vv --features portable` and check actual compile command does not contain -march=native flag. e.g.
      ```
      [libtitan_sys 0.0.1] /usr/bin/c++  -DBZIP2 -DHAVE_PCLMUL -DHAVE_SSE42 -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -DZSTD -I/data/rust-rocksdb    /target/debug/build/snappy-sys-ff485584675450be/out/build -I/data/rust-rocksdb/target/debug/build/bzip2-sys-593753ebc763ecf6/out/include -I/data/rust-rocksdb/target/debug/build/lz4-sys-c5ffb8280e1f82b8/out/include -I/data/rust-rocksdb/target/debug/build/libz-sys-da832d3a86675e51/out/include -I/data/rust-rocksdb/target/debug/build/zstd-sys-ddb8409269514a6a/    out/include -I/data/rust-rocksdb/librocksdb_sys/libtitan_sys/../rocksdb -I/data/rust-rocksdb/librocksdb_sys/libtitan_sys/../rocksdb/include -I/data/rust-rocksdb/librocksdb_sys/libtitan_sys/titan/include -I/data/rust-rocksdb/librocksdb_sys/libtitan_sys/titan/src  -ffunction-sections -fdata-sections -fPIC -m64 -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-un    used-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -Werror -fno-builtin-memcmp -g -DROCKSDB_USE_RTTI   -o CMakeFiles/titan.dir/src/blob_file_cache.cc.o -c /data/rust-rocksdb/librocksdb_sys/libtitan_sys/titan/src/blob_file_cache.cc
      ```
      Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
      c503e736
  2. 01 Jul, 2019 1 commit
    • yiwu-arbug's avatar
      Fix create_cf not passinig titan specific options to titan (#311) · c17648a5
      yiwu-arbug authored
      Summary:
      `db.create_cf` call `crocksdb_create_column_family`, which doesn't pass titan specific options to titan. Fix it by calling `ctitandb_create_column_family` when titan is enabled.
      
      Test Plan:
      Manual test when enabled titan, tikv pass correct titan options when creating new CFs.
      
      Will add unit test in later patch.
      Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
      c17648a5
  3. 24 Jun, 2019 1 commit
  4. 21 Jun, 2019 1 commit
  5. 20 Jun, 2019 1 commit
  6. 19 Jun, 2019 1 commit
  7. 14 Jun, 2019 2 commits
  8. 05 Jun, 2019 2 commits
  9. 10 May, 2019 1 commit
  10. 24 Apr, 2019 1 commit
  11. 23 Apr, 2019 1 commit
  12. 16 Apr, 2019 1 commit
    • yiwu-arbug's avatar
      Update RocksDB (#288) · 44d2a52a
      yiwu-arbug authored
      Update RocksDB to include the following changes:
      018aa1972 Titan: fix error message formatting (#84)
      ee2f17ca8 Fix crash with memtable prefix bloom and key out of prefix extractor domain (#5190)
      16ace7c47 Titan: Add snapshot related test (#80)
      ee8b59301 Titan: Fix iterator fail to pass SuperVersion to underlying iterator (#79)
      
      Signed-off-by: Yi Wu yiwu@pingcap.com
      44d2a52a
  13. 12 Apr, 2019 1 commit
  14. 11 Apr, 2019 1 commit
  15. 03 Apr, 2019 1 commit
  16. 02 Apr, 2019 1 commit
  17. 29 Mar, 2019 1 commit
  18. 25 Mar, 2019 1 commit
  19. 22 Mar, 2019 1 commit
  20. 27 Feb, 2019 1 commit
  21. 19 Feb, 2019 1 commit
  22. 13 Feb, 2019 1 commit
  23. 26 Jan, 2019 1 commit
  24. 21 Jan, 2019 1 commit
  25. 06 Jan, 2019 1 commit
  26. 04 Jan, 2019 1 commit
  27. 02 Jan, 2019 2 commits
  28. 28 Dec, 2018 1 commit
  29. 26 Dec, 2018 1 commit
  30. 17 Dec, 2018 2 commits
  31. 14 Dec, 2018 1 commit
  32. 13 Dec, 2018 1 commit
  33. 11 Dec, 2018 1 commit
    • Huachao Huang's avatar
      tests: fix test_delete_files_in_range (#250) · fc48f1ae
      Huachao Huang authored
      Previous implementation relies on auto compactions to move files to
      the specific level, which is not reliable. This PR controls the
      compaction manually to make sure the files will be placed at the
      expected level.
      fc48f1ae
  34. 10 Dec, 2018 1 commit
  35. 07 Dec, 2018 1 commit
  36. 03 Dec, 2018 1 commit