]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/log
rocksdb.git
8 years agobump patch number rocksdb-5.4.7 v5.4.7
Andrew Kryczka [Wed, 28 Jun 2017 22:50:17 +0000 (15:50 -0700)]
bump patch number

8 years agoFix bug that flush doesn't respond to fsync result
Siying Dong [Mon, 26 Jun 2017 19:32:52 +0000 (12:32 -0700)]
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

8 years agoBump version to 5.4.6 and update HISTORY.md rocksdb-5.4.6 v5.4.6
Yi Wu [Tue, 30 May 2017 21:31:07 +0000 (14:31 -0700)]
Bump version to 5.4.6 and update HISTORY.md

8 years agoFix db_bench build break with blob db
Yi Wu [Thu, 25 May 2017 21:08:16 +0000 (14:08 -0700)]
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

8 years agoFix rocksdb.estimate-num-keys DB property underflow rocksdb-5.4.5 v5.4.5
Yi Wu [Tue, 23 May 2017 17:32:02 +0000 (10:32 -0700)]
Fix rocksdb.estimate-num-keys DB property underflow

Summary:
rocksdb.estimate-num-keys is compute from `estimate_num_keys - 2 * estimate_num_deletes`. If  `2 * estimate_num_deletes > estimate_num_keys` it will underflow. Fixing it.
Closes https://github.com/facebook/rocksdb/pull/2348

Differential Revision: D5109272

Pulled By: yiwu-arbug

fbshipit-source-id: e1bfb91346a59b7282a282b615002507e9d7c246

8 years agoBump version to 5.4.5 and update HISTORY.md
Sagar Vemuri [Fri, 19 May 2017 20:25:59 +0000 (13:25 -0700)]
Bump version to 5.4.5 and update HISTORY.md

8 years agoFacility for cross-building RocksJava using Docker
Adam Retter [Fri, 12 May 2017 18:23:14 +0000 (11:23 -0700)]
Facility for cross-building RocksJava using Docker

Summary:
As an alternative to Vagrant, we can now also use Docker to cross-build RocksDB. The advantages are:

1. The Docker images are fixed; they include all the latest updates and build tools.
2. The Vagrant image, required scripts that ran for every build that would update CentOS and install the buildtools. This lead to slow repeatable builds, we don't need to do this with Docker as they are already in the provided images.

The Docker images I have used have their Docker build files here: https://github.com/evolvedbinary/docker-rocksjava and the images themselves are available from Docker hub: https://hub.docker.com/r/evolvedbinary/rocksjava/

I have added the following targets to the `Makefile`:
1. `rocksdbjavastaticreleasedocker` this uses Docker to perform the cross-builds. It is basically the Docker version of the existing Vagrant `rocksdbjavastaticrelease` target.
2. `rocksdbjavastaticpublishdocker` delegates to `rocksdbjavastaticreleasedocker` and then `rocksdbjavastaticpublishcentral` to upload the artiacts to Maven Central. Equivalent to the existing Vagrant target: `rocksdbjavastaticpublish`
Closes https://github.com/facebook/rocksdb/pull/2278

Differential Revision: D5048206

Pulled By: yiwu-arbug

fbshipit-source-id: 78fa96ef9d966fe09638ed01de282cd4e31961a9

8 years agoMake sure that zstd is statically linked correctly in the Java static build
Adam Retter [Mon, 15 May 2017 17:45:14 +0000 (10:45 -0700)]
Make sure that zstd is statically linked correctly in the Java static build

Summary:
Closes https://github.com/facebook/rocksdb/issues/2280
Closes https://github.com/facebook/rocksdb/pull/2292

Differential Revision: D5061259

Pulled By: sagar0

fbshipit-source-id: eec89111d114c04beee5870a4eb4b51857754783

8 years agoBuild and link with ZStd when creating the static RocksJava build
Adam Retter [Thu, 11 May 2017 22:17:26 +0000 (15:17 -0700)]
Build and link with ZStd when creating the static RocksJava build

Summary: Closes https://github.com/facebook/rocksdb/pull/2279

Differential Revision: D5048161

Pulled By: yiwu-arbug

fbshipit-source-id: 43742ff93137e0a35ea7e855692c9e9a0cd41968

8 years agos/std::snprintf/snprintf
Yi Wu [Tue, 16 May 2017 18:50:43 +0000 (11:50 -0700)]
s/std::snprintf/snprintf

Summary:
Looks like std::snprintf is not available on all platforms (e.g. MSVC 2010). Change it back to snprintf, where we have a macro in port.h to workaround compatibility.
Closes https://github.com/facebook/rocksdb/pull/2308

Differential Revision: D5070988

Pulled By: yiwu-arbug

fbshipit-source-id: bedfc1660bab0431c583ad434b7e68265e1211b1

8 years agoFix build error with blob DB.
Yi Wu [Mon, 15 May 2017 20:40:32 +0000 (13:40 -0700)]
Fix build error with blob DB.

Summary:
snprintf is in <stdio.h> and not in namespace std.
Closes https://github.com/facebook/rocksdb/pull/2287

Reviewed By: anirbanr-fb

Differential Revision: D5054752

Pulled By: yiwu-arbug

fbshipit-source-id: 356807ec38f3c7d95951cdb41f31a3d3ae0714d4

8 years agofix readamp test type inconsistency
Aaron Gao [Fri, 12 May 2017 21:13:16 +0000 (14:13 -0700)]
fix readamp test type inconsistency

8 years agoBump version to 5.4.4 and update HISTORY.md
Yi Wu [Thu, 11 May 2017 18:43:56 +0000 (11:43 -0700)]
Bump version to 5.4.4 and update HISTORY.md

8 years agoFixes the CentOS 5 cross-building of RocksJava
Adam Retter [Wed, 10 May 2017 15:54:46 +0000 (08:54 -0700)]
Fixes the CentOS 5 cross-building of RocksJava

Summary:
Updates to CentOS 5 have been archived as CentOS 5 is EOL. We now pull the updates from the vault. This is a stop gap solution, I will send a PR in a couple days which uses fixed Docker containers (with the updates pre-installed) instead.

sagar0 Here you go :-)
Closes https://github.com/facebook/rocksdb/pull/2270

Differential Revision: D5033637

Pulled By: sagar0

fbshipit-source-id: a9312dd1bc18bfb8653f06ffa0a1512b4415720d