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