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

Implement Java API for ConcurrentTaskLimiter class and compaction_thread_limiter field in ColumnFamilyOptions #7347

Closed
wants to merge 11 commits into from

Conversation

alucarded
Copy link
Contributor

@alucarded alucarded commented Sep 3, 2020

Summary: as title

Test Plan: unit tests included

@alucarded alucarded changed the title Implement Java API for ConcurrentTaskLimiter class and compaction_thread_limiter field in ColumnFamilyOptions Implement Java API for ConcurrentTaskLimiter and compaction_thread_limiter field in ColumnFamilyOptions Sep 3, 2020
@alucarded alucarded changed the title Implement Java API for ConcurrentTaskLimiter and compaction_thread_limiter field in ColumnFamilyOptions Implement Java API for ConcurrentTaskLimiter class and compaction_thread_limiter field in ColumnFamilyOptions Sep 3, 2020
@adamretter adamretter self-requested a review September 3, 2020 20:24
@adamretter adamretter self-assigned this Sep 3, 2020
clang-format version 9.0.0-2~ubuntu18.04.2 (tags/RELEASE_900/final)
Copy link
Collaborator

@adamretter adamretter left a comment

Choose a reason for hiding this comment

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

Excellent, thanks @alucarded

@adamretter
Copy link
Collaborator

@pdillinger Can you do the merge honours please?

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@pdillinger has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

auto* ptr = reinterpret_cast<
std::shared_ptr<ROCKSDB_NAMESPACE::ConcurrentTaskLimiter>*>(jhandle);
delete ptr; // delete std::shared_ptr
}
Copy link
Contributor

Choose a reason for hiding this comment

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

please add a new line

Copy link
Contributor

Choose a reason for hiding this comment

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

For future reference, yes. Please configure editors for newlines at end of file. (In this case it's easier for me to fix it within FB.)

@facebook-github-bot
Copy link
Contributor

@pdillinger merged this pull request in ec5add3.

codingrhythm pushed a commit to SafetyCulture/rocksdb that referenced this pull request Mar 5, 2021
…ead_limiter field in ColumnFamilyOptions (facebook#7347)

Summary:
as title

Pull Request resolved: facebook#7347

Test Plan: unit tests included

Reviewed By: jay-zhuang

Differential Revision: D23592552

Pulled By: pdillinger

fbshipit-source-id: 1c3571b6f42bfd0cfd723ff49d01fbc02a1be45b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants