Skip to content

[Kaizen] Upgrade rocksdbjni version #928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nix/pkgs/mantis.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ in sbt.mkDerivation {

# This sha represents the change dependencies of mantis.
# Update this sha whenever you change the dependencies
depsSha256 = "07iixw8va4zwpiln2zy2gr245z1ir4jd6pqgmkzhwnhw3mf5j28k";
depsSha256 = "0bdpmkgz2m7fxrhlq7bfm9nyhzj1kzsnh9j6dwrc218rp2sm9bxz";

# this is the command used to to create the fixed-output-derivation
depsWarmupCommand = "sbt compile --debug -Dnix=true";
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ object Dependencies {

val rocksDb = Seq(
// use "5.18.3" for older macOS
"org.rocksdb" % "rocksdbjni" % "6.11.4"
"org.rocksdb" % "rocksdbjni" % "6.15.2"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the version looks to be up to 6.15.5 without breaking changes: https://github.com/facebook/rocksdb/releases/tag/v6.15.5.

  • For Java builds, fix errors due to missing compression library includes.
  • Fix a race condition between DB startups and shutdowns in managing the periodic background worker threads. One effect of this race condition could be the process being terminated.
  • Since 6.15.0, TransactionDB returns error Statuses from calls to DeleteRange() and calls to Write() where the WriteBatch contains a range deletion. Previously such operations may have succeeded while not providing the expected transactional guarantees. There are certain cases where range deletion can still be used on such DBs; see the API doc on TransactionDB::DeleteRange() for details.
    OptimisticTransactionDB now returns error Statuses from calls to DeleteRange() and calls to Write() where the WriteBatch contains a range deletion. Previously such operations may have succeeded while not providing the expected transactional guarantees.

Image of Eric E Eric E

)

val enumeratum: Seq[ModuleID] = Seq(
Expand Down