RocksJava must compile on JDK7 (#4768)
Summary:
Fixes some RocksJava regressions recently introduced, whereby RocksJava would not build on JDK 7.
These should have been visible on Travis-CI!
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4768
Differential Revision:
D13418173
Pulled By: sagar0
fbshipit-source-id:
57bf223188887f84d9e072031af2e0d2c8a69c30
Don't download from (unreliable) maven.org (#6348)
Summary:
I set up a mirror of our Java deps on github so we can download
them through github URLs rather than maven.org, which is proving
terribly unreliable from Travis builds.
Also sanitized calls to curl, so they are easier to read and
appropriately fail on download failure.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6348
Test Plan: CI
Differential Revision:
D19633621
Pulled By: pdillinger
fbshipit-source-id:
7eb3f730953db2ead758dc94039c040f406790f3
Update 3rd-party libraries used by RocksJava (#6084)
Summary:
* LZ4 1.8.3 -> 1.9.2
* ZSTD 1.4.0 -> 1.4.4
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6084
Differential Revision:
D18710224
fbshipit-source-id:
a461ef19a473d3480acdc027f627ec3048730692
Download bzip2 packages from sourceforge (#5995)
Summary:
From bzip2's official [download page](http://www.bzip.org/downloads.html), we could download it from sourceforge. This source would be more credible than previous web archive.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5995
Differential Revision:
D18377662
fbshipit-source-id:
e8353f83d5d6ea6067f78208b7bfb7f0d5b49c05
Rename InternalDBStatsType enum names (#5779)
Summary:
When building with clang 9, warning is reported for InternalDBStatsType type names shadowed the one for statistics. Rename them.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5779
Test Plan: Build with clang 9 and see it passes.
Differential Revision:
D17239378
fbshipit-source-id:
af28fb42066c738cd1b841f9fe21ab4671dafd18
Removed const fields in copyable classes (#5095)
Summary:
This fixed the compile error in Clang-8:
```
error: explicitly defaulted copy assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
```
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5095
Differential Revision:
D14811961
Pulled By: riversand963
fbshipit-source-id:
d935d1f85a4e8694dca10033fb5af92d8777eca0
Fix build failures due to missing JEMALLOC_CXX_THROW macro (#5053)
Summary:
JEMALLOC_CXX_THROW is not defined for earlier versions of jemalloc (e.g. 3.6), causing builds to fail on some platforms. Fixing it. Closes #4869
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5053
Differential Revision:
D14390034
Pulled By: sagar0
fbshipit-source-id:
b2b7a03cd377201ef385eb521f65bae85c558055