curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Tschetter <eched...@gmail.com>
Subject Re: [jira] [Created] (CURATOR-44) LeaderSelector does not assign leader randomly
Date Fri, 19 Jul 2013 02:12:33 GMT
I'm not quite sure I fully understand the use case, but if you are counting
on randomness to create an even distribution of leaders across your nodes,
it seems like having the application choose to "give up" leadership either
periodically or based on having "too many" tasks that it is in charge of.

It would be pretty difficult to figure out how to correctly interrupt the
current leader at the correct time from Curator, but it should be pretty
simple for the application itself to know when a good time is.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message