-
Notifications
You must be signed in to change notification settings - Fork 173
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
Enable definition of multiple merge windows per node [JIRA: RIAK-2730] #111
base: develop-3.0
Are you sure you want to change the base?
Conversation
I've recently moved the bitcask cuttlefish schema into the bitcask repo in PR #112. After these are both merged, we'll need to revisit the merge_window section of the schema to make sure this can be set via cuttlefish. |
The Riak 2.0 code freeze date is approaching. @cdahlqvist What work is required for cuttlefish-style configuration? |
This PR needs to be rebased before that work can be done. A list of tuples is a weird thing to map. Here are some ideas of how it could be done: start/end pairs
but I don't like that so much. $named windows
We already have Parsed list of tuples
but then I'll have to teach cuttlefish how to parse a string. not a terrible idea, but work that would need doing. Do nothingWe could require that this be set in the |
i vote for the last one. not hard to walk people through. |
Did this even get reviewed, or is the entire conversation just about configuration? |
I reviewed but didn't test. Need to take another look and test it. But I On Fri, Dec 13, 2013 at 1:37 PM, Joe DeVivo [email protected]:
|
Don't let config slow this down. get it merged and assume |
Hrm. Please note that this PR, #127, has just been reviewed & merged. It isn't clear to me how much more work/change that this ticket requires, sorry, I don't have time this week to review the details. |
Ping: Friday's deadline is Friday. |
So, Jon called "no more features" before I could get this in. I am going to tweak it a little bit and add a test, then check it into the first version past the 2.0 tag for bitcask, so that it makes it into the next possible release past the initial 2.0 release. I feel terrible, sorry Christian. |
create jira issue |
In order to limit the potential impact of merging, it is often recommended to use non-overlapping, staggered merge windows. This currently means relying on a single merge window per node, leading to increased disk usage between windows due to the lack of merging activity.
This PR makes it possible to define a list of merge windows for a node, allowing the creation of multiple shorter merge windows for each node, potentially reducing the time between merges.
The list of merge windows can be specified as follows in the app.config file:
{merge_window, [{1, 1},{7, 7},{13, 13},{19, 19}]},