[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16588535#comment-16588535
]
Stefan Egli commented on SLING-7830:
thx a lot for the review!
> Defined leader switch
>
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16588508#comment-16588508
]
Carsten Ziegeler commented on SLING-7830:
-
PR looks good to me
> Defined leader switch
>
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586118#comment-16586118
]
Stefan Egli commented on SLING-7830:
bq. With the above discussed implementation, the deployer of the
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586073#comment-16586073
]
Stefan Egli commented on SLING-7830:
Not all jobs do get assigned to the leader though, there are
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586011#comment-16586011
]
Carsten Ziegeler commented on SLING-7830:
-
With the above discussed implementation, the deployer
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586006#comment-16586006
]
Dirk Rudolph commented on SLING-7830:
-
The reason we had to report that was custom implementations of
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585998#comment-16585998
]
Stefan Egli commented on SLING-7830:
Had an offline discussion with [~mreutegg] about
bq. With a new
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585948#comment-16585948
]
Stefan Egli commented on SLING-7830:
Created a PR with a suggested implementation
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585845#comment-16585845
]
Stefan Egli commented on SLING-7830:
Ok, I'll have a look at this and come up with a patch
> Defined
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585833#comment-16585833
]
Carsten Ziegeler commented on SLING-7830:
-
Right, my initial idea was that the prefix is the
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585828#comment-16585828
]
Stefan Egli commented on SLING-7830:
Maybe the only remaining question is then: how does the
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585826#comment-16585826
]
Stefan Egli commented on SLING-7830:
We could make the prefix configurable, and that would then be
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585823#comment-16585823
]
Stefan Egli commented on SLING-7830:
How would you set the leaderElectionId of an instance that has
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585813#comment-16585813
]
Carsten Ziegeler commented on SLING-7830:
-
[~egli] Ok, thanks now I understand better where you
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585747#comment-16585747
]
Stefan Egli commented on SLING-7830:
(btw: with 'duplicates' I was referring to a temporary situation
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585728#comment-16585728
]
Carsten Ziegeler commented on SLING-7830:
-
Got it, right - let's forget about the details how the
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585719#comment-16585719
]
Stefan Egli commented on SLING-7830:
If that happens simultaneously while the instances actually join
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585650#comment-16585650
]
Carsten Ziegeler commented on SLING-7830:
-
But if we change the leader to a new instance, than
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585632#comment-16585632
]
Stefan Egli commented on SLING-7830:
bq. Are those changes to the leaderElectionIds in the repository
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16583848#comment-16583848
]
Carsten Ziegeler commented on SLING-7830:
-
Are those changes to the leaderElectionIds in the
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16582255#comment-16582255
]
Stefan Egli commented on SLING-7830:
The leader election is based on the leaderElectionId stored in
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16582187#comment-16582187
]
Stefan Egli commented on SLING-7830:
Assuming we're talking about discover.oak here?
Re scenario 1:
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16580992#comment-16580992
]
Dirk Rudolph commented on SLING-7830:
-
I agree on option 2 being more complex but for me this would
[
https://issues.apache.org/jira/browse/SLING-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16580985#comment-16580985
]
Alexander Saar commented on SLING-7830:
---
I see 2 scenarios:
* control the leader in same topology:
24 matches
Mail list logo