leveldb icon indicating copy to clipboard operation
leveldb copied to clipboard

LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.

Results 114 leveldb issues
Sort by recently updated
recently updated
newest added

1. Removed dependency on `std::aligned_storage` (which will be deprecated in C++23; see also https://github.com/cplusplus/papers/issues/197). 2. Removed redundant `static_assert`s. 3. Guaranteed the placement new-expression calls global `operator new`.

cla: yes

In the function Status VersionSet::Recover(bool* save_manifest), the statement manifest_file_number_ = next_file; could potentially lead to a scenario where the identifier of the manifest file matches that of the log file...

![image](https://github.com/google/leveldb/assets/7285119/748ff9cf-f11e-4cbd-bf20-eeb610620435) 这里没有释放signal,会导致 write 持续处于 Wait 状态 @ghemawat https://github.com/google/leveldb/commit/d79762e27369365a7ffe1f2e3a5c64b0632079e1#diff-6fdb755f590d9b01ecb89bd8ceb28577e85536d4472f8e4fc3addeb9a65f3645R1115-R1135

# Description There appears to be a potential memory leak issue within the Status class of the leveldb project. This issue was discovered during fuzz testing and further analysis of...

### Description The `leveldb_open` function in LevelDB is vulnerable to a null pointer dereference issue, where it directly converts a `const char* name` to a `std::string` without null checks. This...

https://github.com/google/leveldb/blob/068d5ee1a3ac40dabd00d211d5013af44be55bea/util/env.cc#L25 https://github.com/google/leveldb/blob/068d5ee1a3ac40dabd00d211d5013af44be55bea/util/env.cc#L26 https://github.com/google/leveldb/blob/068d5ee1a3ac40dabd00d211d5013af44be55bea/util/env.cc#L28 https://github.com/google/leveldb/blob/068d5ee1a3ac40dabd00d211d5013af44be55bea/util/env.cc#L29 `Status Env::RemoveDir(const std::string& dirname) { return DeleteDir(dirname); } Status Env::DeleteDir(const std::string& dirname) { return RemoveDir(dirname); } Status Env::RemoveFile(const std::string& fname) { return DeleteFile(fname); } Status Env::DeleteFile(const...

SPM can't differ if .h is C or C++ header

Why do we need the class MemTableBackwardIterator? Do we need to delete it?

i added my name

I am using LevelDB version SHARED_VERSION_MAJOR = 1 SHARED_VERSION_MINOR = 20 OS ![Screenshot from 2023-07-01 00-24-19](https://github.com/google/leveldb/assets/118141598/0ec317b3-358a-4e0e-a85b-1501ec634f32) Database ~ 20 000 000 Pair ![Screenshot from 2023-07-01 00-28-30](https://github.com/google/leveldb/assets/118141598/a91a7037-8fcf-40c7-815d-d52e9a921a8a) Memory consumption before reading...