Open madshargreave opened 5 years ago
Like at random or do you want to control where they land?
I am thinking of these two scenarios:
And I think I have an idea of how to implement both in one go.
Exactly the above :)
@madshargreave I've been thinking about this some more and I'm unsure if I want this table to only exist on these specific nodes
is a concern of the library. I say this for a couple of reasons:
Now I could still be convinced of this if the usecase makes sense, but as of the moment I don't think it's a concern of Mnesiac.
I want this table to only exist in N nodes
has some use, though this type of check would only happen at startup.
I've begun work on this in the replication_factor
branch for at least a partial implementation of this request.
as a heads up, @astutecat suggested also adding a 3rd option for replicating by percentage, so:
Sorry, I've been away for some time. I'm getting back to this. Apologies for the inconvenience.
I'm hoping to have #53, which this is part of by EOY
Would it be possible to add a replication factor? Ie. only replicate this table on N nodes in the entire cluseter