fix deletion dropping in intra-L0
Summary:
`KeyNotExistsBeyondOutputLevel` didn't consider L0 files' key-ranges. So if a key only was covered by older L0 files' key-ranges, we would incorrectly drop deletions of that key. This PR just skips the deletion-dropping optimization when output level is L0.
Closes https://github.com/facebook/rocksdb/pull/2726
Differential Revision:
D5617286
Pulled By: ajkr
fbshipit-source-id:
4bff1396b06d49a828ba4542f249191052915bce
Some more files.
Add back the LevelDB license file
Summary: Closes https://github.com/facebook/rocksdb/pull/2591
Differential Revision:
D5432696
Pulled By: siying
fbshipit-source-id:
a613230ab916de0b279a65ef429ede65460a8db2
Remove the licensing description in CONTRIBUTING.md
Summary: Closes https://github.com/facebook/rocksdb/pull/2590
Differential Revision:
D5432539
Pulled By: siying
fbshipit-source-id:
49902453bba3c95c1fb8354441b2198649e52bf4
Change RocksDB License
Summary: Closes https://github.com/facebook/rocksdb/pull/2589
Differential Revision:
D5431502
Pulled By: siying
fbshipit-source-id:
8ebf8c87883daa9daa54b2303d11ce01ab1f6f75
Fix RocksDB Lite build with CLANG
Summary: Closes https://github.com/facebook/rocksdb/pull/2419
Differential Revision:
D5193976
Pulled By: siying
fbshipit-source-id:
62d115edee6043237e9d6ad3c2a05481e162c9eb
Fix db_bench build break with blob db
Summary:
Lite build does not recognize FLAGS_use_blob_db. Fixing it.
Closes https://github.com/facebook/rocksdb/pull/2372
Reviewed By: anirbanr-fb
Differential Revision:
D5130773
Pulled By: yiwu-arbug
fbshipit-source-id:
43131d9d0be5811f2129af562be72cca26369cb3
Fix bug that flush doesn't respond to fsync result
Summary:
With a regression bug was introduced two years ago, by https://github.com/facebook/rocksdb/commit/
6e9fbeb27c38329f33ae541302c44c8db8374f8c , we fail to check return status of fsync call. This can cause we miss the information from the file system and can potentially cause corrupted data which we could have been detected.
Closes https://github.com/facebook/rocksdb/pull/2495
Reviewed By: ajkr
Differential Revision:
D5321949
Pulled By: siying
fbshipit-source-id:
c68117914bb40700198fc37d0e4c63163a8a1031
update 5.5 change log
Summary:
update bug fixed.
Closes https://github.com/facebook/rocksdb/pull/2434
Differential Revision:
D5218601
Pulled By: lightmark
fbshipit-source-id:
1f86b2c93345673612381081537d464e7d12e434
Switch from CentOS 5 to CentOS 6 for crossbuilding RocksJava
Summary:
Updates the statically linked libraries from linking against glibc 2.5, to linking against glibc 2.12.
Closes https://github.com/facebook/rocksdb/pull/2405
Differential Revision:
D5184132
Pulled By: sagar0
fbshipit-source-id:
7a8ad4cf7e737ca62f29e58938bd49fa02114541
Revert "cross-platform compatibility improvements"
This reverts commit
11c5d4741a1e11a1315d5ca644ce555e07e91f61.
Revert "remove #include port/port.h in public header file"
This reverts commit
4c9d2b10468146f42facb98fbc55d31501036d6a.
update buckifer/TARGETS
Summary:
update targets file for release
Closes https://github.com/facebook/rocksdb/pull/2358
Differential Revision:
D5115705
Pulled By: lightmark
fbshipit-source-id:
96a3c7e15b5807b5d0f5a9bb73850b92754b5794
range sync should be enabled
Summary:
We forgot to add the new flag in internal build script. Add it.
Closes https://github.com/facebook/rocksdb/pull/2360
Differential Revision:
D5121428
Pulled By: siying
fbshipit-source-id:
af72d48cd855b37df1ce3c1fbb00c80377ba6e4f
Fix errors in clang-analyzer builds
Summary:
Fix build error in db_iter.cc when running clang-analyzer.
```
CC db/db_iter.o
db/db_iter.cc:938:21: error: no matching constructor for initialization of 'rocksdb::ParsedInternalKey'
ParsedInternalKey ikey(Slice(), 0, 0);
^ ~~~~~~~~~~~~~
./db/dbformat.h:84:3: note: candidate constructor not viable: no known conversion from 'int' to 'rocksdb::ValueType' for 3rd argument
ParsedInternalKey(const Slice& u, const SequenceNumber& seq, ValueType t)
^
./db/dbformat.h:78:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
struct ParsedInternalKey {
^
./db/dbformat.h:78:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided
./db/dbformat.h:83:3: note: candidate constructor not viable: requires 0 arguments, but 3 were provided
ParsedInternalKey() { } // Intentionally left uninitialized (for speed)
^
1 error generated.
```
Closes https://github.com/facebook/rocksdb/pull/2354
Differential Revision:
D5115751
Pulled By: sagar0
fbshipit-source-id:
b0e386d4e935e4725b07761c3ca5f7a8cbde3692