On Thu, Jan 28, 2016 at 2:22 PM, Andrzej Dębski <[email protected]> wrote:
> In situation where you have 2 unreachable nodes even if weaklyUp=true new > incarnation of old node will not join the cluster until other unreachable > nodes are also down, but we could still accept any number of fully new (not > new incarnations of nodes) and set them to weaklyUp. I think this is a bit > asymetric situation and it would be nice if we would move new incarnation > of old node to weaklyUp even if we some other nodes are in unreachable state > I see what you mean. We would like to be able to change things so that less coordination is needed, but that is a change that will require much thinking. For example, if you have a network partition the old incarnation might remain in the other partition and when they heal they must be merged correctly. This is far from trivial. > > W dniu czwartek, 28 stycznia 2016 12:41:06 UTC+1 użytkownik Patrik > Nordwall napisał: >> >> >> >> On Tue, Jan 26, 2016 at 4:00 PM, Andrzej Dębski <[email protected]> >> wrote: >> >>> I encountered "issue" similar to one described in >>> https://github.com/akka/akka/issues/18067 and after that I read >>> https://github.com/akka/akka/issues/13584 which mentions issue 18067 >>> "Taking note of that we got a user request for something similar as this >>> issue. Discussed in #18067 <https://github.com/akka/akka/issues/18067> >>> " >>> >>> I was wondering if it would be possible to enhance WeaklyUp >>> functionality to also accept nodes returning with new incarnation of actor >>> system because we are accepting "new" nodes anyway. Currently if there is >>> no convergence nodes that are returning with new UUID are marked as DOWN >>> but until problems with all unreachable nodes are resolved new node will >>> send Join repeatedly issuing message about "New incarnation of existing >>> member...". If WeaklyUp is enabled leader could also accept new version of >>> the node so it would be treated the same as "new" node. >>> >> >> I'm not sure I understand the problem. Why would it join repeatedly? The >> join is accepted also when there are unreachable. Perhaps you mean that the >> old incarnation is not removed because of the unreachable and therefore the >> new incarnation cannot join. That has nothing to do with the weakly up >> feature. >> >> Regards, >> Patrik >> >> >>> >>> If this behaviour would be acceptable I can open an issue and work on PR >>> for it. >>> >>> -- >>> >>>>>>>>>> Read the docs: http://akka.io/docs/ >>> >>>>>>>>>> Check the FAQ: >>> http://doc.akka.io/docs/akka/current/additional/faq.html >>> >>>>>>>>>> Search the archives: >>> https://groups.google.com/group/akka-user >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Akka User List" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/akka-user. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> >> Patrik Nordwall >> Typesafe <http://typesafe.com/> - Reactive apps on the JVM >> Twitter: @patriknw >> >> -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Patrik Nordwall Typesafe <http://typesafe.com/> - Reactive apps on the JVM Twitter: @patriknw -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
