Skip to content
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

Fix/integrate latest rocksb6.20+ #1

Merged
merged 77 commits into from
Jan 26, 2022

Conversation

ssardana96
Copy link

No description provided.

ananclub and others added 30 commits October 19, 2016 13:13
Add support for opening a db with TTL support
Add GetStatisticsString method to Options
…_string

add wrapper for GetOptionsFromString
fix memory leak in deleting filterpolicy and mergeoperator value
* 'master' of https://github.com/tecbot/gorocksdb:
  Add pinned slices
  Add *DB.SetOptions().
  Add support for opening a db with TTL support
  fix GetApproximateSizes
  fix memory leak in deleting filterpolicy and mergeoperator value
  Add GetStatisticsString method to Options
  add wrapper for GetOptionsFromString
tecbot and others added 20 commits September 24, 2019 21:58
…dings-pr

Add bindings for lowering CPU and IO priority of thread pools
…-on-armhf

Workaround for Linux 32-bit build
…ty-c-bindings-pr

Revert "Add bindings for lowering CPU and IO priority of thread pools"
Reference: facebook/rocksdb#1095

The cst has alredy been consumed when associated with the prefix_extractor
remove compression library link flags.
CreateNewBackupFlush, when flush is set to true, flushes the WAL
before creating the backup. When flush is set to false, it acts
exactly like CreateNewBackup and backups the WAL in a separate,
non-atomic operation.
Add missing table options and full bloom filter
Attempting to destroy the opts.cst will segfault
Copy link

@kushthedude kushthedude left a comment

Choose a reason for hiding this comment

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

Why are we maintaining a fork when there are no changes, or if some changes we need why arent we contributing to the upstream & increasing our tech debt?

@cnlangzi
Copy link

Why are we maintaining a fork when there are no changes, or if some changes we need why arent we contributing to the upstream & increasing our tech debt?

some patches are added on the fork. see 9721107

@cnlangzi cnlangzi requested a review from kushthedude January 26, 2022 00:29
@cnlangzi
Copy link

cnlangzi commented Jan 26, 2022

only 6.20.3 works on Apple M1 chip. but gorocksdb is broken by rocksdb public api changes since v6.16.0 https://github.com/facebook/rocksdb/blob/e8f116deabc601a5eae011f2fd8a38d02d87be8d/HISTORY.md#public-api-change-13

rocksdb_approximate_sizes and rocksdb_approximate_sizes_cf in the C API now requires an error pointer (char** errptr) for receiving any error.

if we want to debug sharder on Apple M1 chip, rocksdb has to be upgraded to v6.20.3, and rocksdb_approximate_sizes and rocksdb_approximate_sizes_cf should be fixed on gorocksdb too. check issue on tecbot#203

@ssardana08 could you try to send a PR to tecbot/gorocksdb too? we can drop our fork if it is fixed on tecbot/gorocksdb

@ssardana96
Copy link
Author

@cnlangzi look like there is already a PR opened for the same since March 2021 on the upstream, but not merged
tecbot#210

@kushthedude
Copy link

Lets get it in since the fork as well as the main library has not been maintained.

@kushthedude kushthedude merged commit 31547a9 into master Jan 26, 2022
@cnlangzi cnlangzi deleted the fix/integrate_latest_rocksb6.20+ branch February 10, 2022 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.