]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/log
rocksdb.git
6 years agoUpdate version and history for 6.0.1 v6.0.1
Sagar Vemuri [Tue, 26 Mar 2019 18:55:31 +0000 (11:55 -0700)]
Update version and history for 6.0.1

6 years agoBlobDB::Open() should put all existing trash files to delete scheduler (#5103)
Siying Dong [Tue, 26 Mar 2019 17:43:22 +0000 (10:43 -0700)]
BlobDB::Open() should put all existing trash files to delete scheduler (#5103)

Summary:
Right now, BlobDB::Open() fails to put all trash files to delete scheduler,
which causes some trash files permanently untracked.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5103

Differential Revision: D14606095

Pulled By: siying

fbshipit-source-id: 41a9437a2948abb235c0ed85f9a04612d0e50183

6 years agoWhen closing BlobDB, should first wait for all background tasks (#5005)
Siying Dong [Fri, 22 Feb 2019 01:23:05 +0000 (17:23 -0800)]
When closing BlobDB, should first wait for all background tasks (#5005)

Summary:
When closing a BlobDB, it only waits for background tasks
to finish as the last thing, but the background task may access
some variables that are destroyed. The fix is to introduce a
shutdown function in the timer queue and call the function as
the first thing when destorying BlobDB.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5005

Differential Revision: D14170342

Pulled By: siying

fbshipit-source-id: 081e6a2d99b9765d5956cf6cdfc290c07270c233

6 years agoDisable getApproximateSizes test (#5035)
Sagar Vemuri [Sat, 2 Mar 2019 07:01:59 +0000 (23:01 -0800)]
Disable getApproximateSizes test (#5035)

Summary:
Disabling `org.rocksdb.RocksDBTest.getApproximateSizes` test as it is frequently crashing on travis (#5020). It will be re-enabled once the root-cause is found and fixed.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5035

Differential Revision: D14294736

Pulled By: sagar0

fbshipit-source-id: e28bff0d143a58ad6c82991fec3d4cf8c0209995

6 years agoFix DefaultEnvTest.incBackgroundThreadsIfNeeded test (#5021)
Sagar Vemuri [Thu, 28 Feb 2019 22:43:55 +0000 (14:43 -0800)]
Fix DefaultEnvTest.incBackgroundThreadsIfNeeded test (#5021)

Summary:
`DefaultEnvTest.incBackgroundThreadsIfNeeded` jtest should assert that the number of threads is greater than or equal to the minimum number of threads.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5021

Differential Revision: D14268311

Pulled By: sagar0

fbshipit-source-id: 01fb32b5b3ce636451d162fa1a2bbc5bd1974682

6 years agoAdd missing functionality to RocksJava (#4833)
Adam Retter [Fri, 22 Feb 2019 22:36:38 +0000 (14:36 -0800)]
Add missing functionality to RocksJava (#4833)

Summary:
This is my latest round of changes to add missing items to RocksJava. More to come in future PRs.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4833

Differential Revision: D14152266

Pulled By: sagar0

fbshipit-source-id: d6cff67e26da06c131491b5cf6911a8cd0db0775

6 years agoRevert "Remove PlainTable's feature store_index_in_file (#4914)" (#5034)
Siying Dong [Fri, 1 Mar 2019 23:41:55 +0000 (15:41 -0800)]
Revert "Remove PlainTable's feature store_index_in_file (#4914)" (#5034)

Summary:
This reverts commit ee1818081ff4ca2a49a48cb4ca5b97665b8dcddf.

We are not ready to deprecate this feature. revert it for now.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5034

Differential Revision: D14287246

Pulled By: siying

fbshipit-source-id: e4beafdeaee1c94364fdaa6ba198218d158339f7

6 years ago[sync fix] Add defs.bzl
Fosco Marotto [Thu, 28 Feb 2019 19:35:30 +0000 (11:35 -0800)]
[sync fix] Add defs.bzl

6 years agoMerge branch '6.0.fb' of github.com:facebook/rocksdb into 6.0.fb
Fosco Marotto [Thu, 28 Feb 2019 19:32:29 +0000 (11:32 -0800)]
Merge branch '6.0.fb' of github.com:facebook/rocksdb into 6.0.fb

7 years agoadd GetStatsHistory to retrieve stats snapshots (#4748)
Zhongyi Xie [Wed, 20 Feb 2019 23:46:59 +0000 (15:46 -0800)]
add GetStatsHistory to retrieve stats snapshots (#4748)

Summary:
This PR adds public `GetStatsHistory` API to retrieve stats history in the form of an std map. The key of the map is the timestamp in microseconds when the stats snapshot is taken, the value is another std map from stats name to stats value (stored in std string). Two DBOptions are introduced: `stats_persist_period_sec` (default 10 minutes) controls the intervals between two snapshots are taken; `max_stats_history_count` (default 10) controls the max number of history snapshots to keep in memory. RocksDB will stop collecting stats snapshots if `stats_persist_period_sec` is set to 0.

(This PR is the in-memory part of https://github.com/facebook/rocksdb/pull/4535)
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4748

Differential Revision: D13961471

Pulled By: miasantreble

fbshipit-source-id: ac836d401ecb84ea92216bf9966f969dedf4ad04

7 years agoUpdate version and history for 6.0
Fosco Marotto [Wed, 20 Feb 2019 18:10:11 +0000 (10:10 -0800)]
Update version and history for 6.0