-
Notifications
You must be signed in to change notification settings - Fork 178
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
Dynamic decision to swap threads or not on Erlang Write operation #242
Open
matthewvon
wants to merge
42
commits into
develop
Choose a base branch
from
mv-nonblocking-write3
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Peter Lemenkov <[email protected]>
These should only be appearing in riak.conf for documentation, as they won't be needed unless a user is setting up multi_backend. Even then they will probably want to change the backend name to something other than "name".
…ion-settings Make multi_backend compression settings commented
Don't use deprecated erlang:now/0 in tests
unsigned long for memory_sz so it compiles on scaleway C1 / arm
…ters. This fills some remaining race condition holes (of which one recently seen).
Switch to reference counted pointers instead of naked pointers.
Port submit_to_thread_queue() from riak_ts-develop to develop
…db operate correctly
Mv bucket expiry
Backport submit_to_thread_queue() to KV
Refactor workitems.{h,cc}
Manually disabling dylib creation for snappy since OSX links the preferentially rather than the static library. This resolves #236
Disable shared library creation
A commit over 4 years ago disabled most of the eunit tests in the eleveldb module. This enables them and adds a few, while refactoring so they clean up after themselves. It also adds exported test helper functions to make it easier for other tests to clean up after themselves.
Tests now use helper functions from eleveldb module tests.
…time out on wimpy builders.
- Number of database instances is capped to keep filesystem footprint manageable. - Complexity of some operations reduced to limit runtime. - Generous timeouts added to more tests.
This value is an alternative to `-mmacosx-version-min=version` which does not appear to be settable via the snappy configure script. This is to allow support for historical versions of MacOSX
Added flag for MACOSX_DEPLOYMENT_TARGET = 10.8
…Doug and/or emacs happy (the former is the more worthy goal). Sync with latest 'develop' branch.
Test cleanup
… develop branch. git rebase sucks, i.e. unreliably bad.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
eleveldb swaps each Erlang request from an Erlang scheduler thread to a local eleveldb worker thread. This is to prevent Erlang scheduler collapses. Write operations do not actually need to swap all the time. This branch creates the capability of dynamic selection to swap threads or not.
Detailed discussion is here:
https://github.com/basho/leveldb/wiki/mv-nonblocking-write2