Commit Graph

85 Commits (f02c708aa32829bbbd70aa3493af8444e76e4350)

Author SHA1 Message Date
Hui Xiao 98d5db5c2e Sort L0 files by newly introduced epoch_num (#10922) 2 years ago
Peter Dillinger 6de7081cf3 Always verify SST unique IDs on SST file open (#10532) 2 years ago
zczhu 30141461f9 Add basic kRoundRobin compaction policy (#10107) 2 years ago
sdong 4207872fc3 Reduce a duplicate consistency check when applying a new version (#10169) 2 years ago
Hui Xiao d665afdbf3 Account memory of FileMetaData in global memory limit (#9924) 2 years ago
sdong 49628c9a83 Use std::numeric_limits<> (#9954) 2 years ago
Levi Tamasi 320d9a8e8a Use a sorted vector instead of a map to store blob file metadata (#9526) 2 years ago
Peter Dillinger fc9d4071f0 Fast path for detecting unchanged prefix_extractor (#9407) 2 years ago
Levi Tamasi 3fbddb1d27 Refactor and unify blob file saving and the logic that finds the oldest live blob file (#9122) 3 years ago
Levi Tamasi 081722780b Refactor the detailed consistency checks and the SST saving logic in VersionBuilder (#9099) 3 years ago
Levi Tamasi b1c27a52d2 Add a consistency check that prevents the overflow of garbage in blob files (#9100) 3 years ago
Levi Tamasi 44d04582cb Aggregate blob file related changes in VersionBuilder as VersionEdits are applied (#9085) 3 years ago
Zhichao Cao b632ed0c67 Add file temperature related counter and bytes stats to and io_stats (#8710) 3 years ago
Peter Dillinger c9cd5d25a8 Remove some unneeded code (#8736) 3 years ago
Zaorang Yang 2bc914094d Refactor with VersionBuilder (#8706) 3 years ago
Yanqin Jin b0e20194ea Handle blob files when options.best_efforts_recovery is true (#8180) 3 years ago
Jay Zhuang a0e4421e81 Log sst number in Corruption status (#7767) 4 years ago
Yanqin Jin 758ead5df7 Enforce status check for corruption_test (#7453) 4 years ago
Peter Dillinger ddbc5dad05 Enable force_consistency_checks by default (#7446) 4 years ago
sdong d08a9005b7 Make db_basic_test pass assert status checked (#7452) 4 years ago
Levi Tamasi 7b1d6c438a Fix the handling of the case when a blob file with a lower number gets added in VersionBuilder (#7349) 4 years ago
Levi Tamasi a99fb67233 Remove redundant consistency check from VersionStorageInfo::AddFile (#7237) 4 years ago
Levi Tamasi e367bc7f4b Clean up blob files based on the linked SST set (#7001) 4 years ago
Anand Ananthabhotla 9a5886bd8c Extend Get/MultiGet deadline support to table open (#6982) 4 years ago
Levi Tamasi 83833637c1 Maintain the set of linked SSTs in BlobFileMetaData (#6945) 4 years ago
Levi Tamasi d854abad78 Revisit the handling of the case when a file is re-added to the same level (#6939) 4 years ago
Andrew Kryczka 02db03af8d make L0 index/filter pinned memory usage predictable (#6911) 4 years ago
Levi Tamasi f8c2e5a608 Do not print messages to stderr in VersionBuilder (#6948) 4 years ago
Levi Tamasi 78e291b17e Improve consistency checks in VersionBuilder (#6901) 4 years ago
Levi Tamasi 1551f1011a Refactor the blob file related logic in VersionBuilder (#6835) 4 years ago
sdong c21c459771 Slightly expand converage to file consistency check failure (#6800) 4 years ago
Andrew Kryczka a96461d169 fix swallowed error for file deletion consistency check (#6809) 4 years ago
sdong 680c416348 Avoid Swallowing Some File Consistency Checking Bugs (#6793) 4 years ago
Levi Tamasi fe238e5438 Keep track of obsolete blob files in VersionSet (#6755) 4 years ago
Levi Tamasi bc51e33d9c Make sure (Shared)BlobFileMetaData are owned by shared_ptrs (#6749) 4 years ago
Levi Tamasi 6f62322fe4 Add blob files to VersionStorageInfo/VersionBuilder (#6597) 4 years ago
Yanqin Jin fb09ef05dc Attempt to recover from db with missing table files (#6334) 4 years ago
Levi Tamasi 442404558a Clean up VersionBuilder a bit (#6556) 4 years ago
Cheng Chang 2d9efc9ab2 Cache result of GetLogicalBufferSize in Linux (#6457) 4 years ago
sdong fdf882ded2 Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 4 years ago
Levi Tamasi 752c87af78 Clean up VersionEdit a bit (#6383) 4 years ago
anand76 afa2420c2b Introduce a new storage specific Env API (#5761) 5 years ago
jsteemann da3b2840cb save a few redundant container lookups (#5875) 5 years ago
sdong e8263dbdaa Apply formatter to recent 200+ commits. (#5830) 5 years ago
Pratik Dhandharia a281822331 Lower the risk for users to run options.force_consistency_checks = true (#5744) 5 years ago
Zhongyi Xie d68f9f4580 simplify include directive involving inttypes (#5402) 5 years ago
Yanqin Jin 9358178edc Support for single-primary, multi-secondary instances (#4899) 5 years ago
Siying Dong f0dda35d7d Preload some files even if options.max_open_files (#3340) 6 years ago
JiYou 82e8e9e26b VersionBuilder: optmize SaveTo() to linear time. (#4366) 6 years ago
Siying Dong d5612b43de Two code changes to make "clang analyze" happy (#4292) 6 years ago