Commit Graph

336 Commits (2a019f1d03ed5eaf1f90d21c560c1b7b3ed8b4b3)

Author SHA1 Message Date
sdong ac6afaf9ef Enforce naming convention of getters in version_set.h 10 years ago
sdong 86905e3cbb Move VersionBuilder logic to a separate .cc file 10 years ago
sdong f7e6c856ab Fix BaseReferencedVersionBuilder's destructor order 10 years ago
Igor Canadi 9f7fc3ac45 Turn on -Wshadow 10 years ago
sdong 4d2ba38b65 Make VersionBuilder unit testable 10 years ago
sdong 76d1c28e82 Make CompactionPicker more easily tested 10 years ago
Yueh-Hsuan Chiang 3772a3d09d Fix the bug where compaction does not fail when RocksDB can't create a new file. 10 years ago
Lei Jin efa2fb33b0 make LevelFileNumIterator and LevelFileIteratorState anonymous 10 years ago
Lei Jin f981e08139 unfriend ColumnFamilyData from VersionSet 10 years ago
Lei Jin 834c67d77f rename FileLevel to LevelFilesBrief / unfriend CompactedDBImpl 10 years ago
Lei Jin a28b3c4388 unfriend UniversalCompactionPicker,LevelCompactionPicker and FIFOCompactionPicker from VersionSet 10 years ago
Lei Jin 5187d896b9 unfriend Compaction and CompactionPicker from VersionSet 10 years ago
Lei Jin f1841985e4 dynamic inplace_update options 10 years ago
Lei Jin 122f98e0b9 dynamic max_mem_compact_level 10 years ago
Yueh-Hsuan Chiang 6c66918645 Speed up DB::Open() and Version creation by limiting the number of FileMetaData initialization. 10 years ago
Lei Jin 5ec53f3edf make compaction related options changeable 10 years ago
Danny Al-Gaaf 4a171882d6 db/version_set.cc: remove unnecessary checks 10 years ago
Danny Al-Gaaf b8b7117e97 db/version_set.cc: use !empty() instead of 'size() > 0' 10 years ago
Lei Jin 2faf49d5f1 use GetContext to replace callback function pointer 10 years ago
Lei Jin 3c68006109 CompactedDBImpl 10 years ago
Lei Jin a062e1f2c4 SetOptions() for memtable related options 10 years ago
Igor Canadi 4a27a2f193 Don't sync manifest when disableDataSync = true 10 years ago
Lei Jin 9b0f7ffa1c rename version_set options_ to db_options_ to avoid confusion 10 years ago
Lei Jin 048560a642 reduce references to cfd->options() in DBImpl 10 years ago
Igor Canadi a2bb7c3c33 Push- instead of pull-model for managing Write stalls 10 years ago
liuhuahang bb6ae0f80c fix more compile warnings 10 years ago
Stanislau Hlebik 45a5e3ede0 Remove path with arena==nullptr from NewInternalIterator 10 years ago
Yueh-Hsuan Chiang 570ba5aca8 Avoid retrying to read property block from a table when it does not exist. 10 years ago
Stanislau Hlebik 0c9dc9f8e0 Remove malloc from FormatFileNumber 10 years ago
miguelportilla 93e6b5e9d9 Changes to support unity build: 10 years ago
sdong 1242bfcad7 Add DB property "rocksdb.estimate-table-readers-mem" 10 years ago
Feng Zhu 1129921e9b logging_when_create_and_delete_manifest 10 years ago
Yueh-Hsuan Chiang 49ee5a4ac4 Fixed the crash when merge_operator is not properly set after reopen. 10 years ago
sdong f6784766db Add DB property estimated number of keys 10 years ago
Lei Jin 40fa8a4cd5 make statistics forward-able 10 years ago
Yueh-Hsuan Chiang 6480717a26 Fixed compaction-related errors where number of input levels are hard-coded. 10 years ago
sdong f6b7e1ed1a Allow user to specify DB path of output file of manual compaction 10 years ago
Yueh-Hsuan Chiang 052ddbe0e2 Add MaxInputLevel() to CompactionPicker 10 years ago
Radheshyam Balasundaram 0d57e3ad7d Guarding files_ attribute with #ifndef NDEBUG guard in FilePicker class. 10 years ago
Yueh-Hsuan Chiang 296e340753 Add struct CompactionInputFiles to manage compaction input files. 10 years ago
Radheshyam Balasundaram 0418e66e2a Refactoring Version::Get() 10 years ago
Feng Zhu c11d604ab3 store file_indexer info in sequential memory 10 years ago
sdong 0abaed2e08 Support multiple DB directories in universal compaction style 10 years ago
Feng Zhu 178fd6f9db use FileLevel in LevelFileNumIterator 10 years ago
Feng Zhu f697cad15c create compressed_levels_ in Version, allocate its space using arena. Make Version::Get, Version::FindFile faster 10 years ago
Yueh-Hsuan Chiang 70828557ef Some fixes on size compensation logic for deletion entry in compaction 10 years ago
Igor Canadi 4203431e71 Fix mac os compile error 10 years ago
sdong 2459f7ec4e Support Multiple DB paths (without having an interface to expose to users) 10 years ago
Igor Canadi a2e0d890ed No need for files_by_size_ in universal compaction 11 years ago
Yueh-Hsuan Chiang e813f5b6d9 Allow compaction to reclaim storage more effectively. 11 years ago