[CONTROLLER-1786] Jolokia lookup says leader exists but karaf logs says no leader Created: 07/Nov/17 Updated: 02/Aug/18 Resolved: 02/Aug/18 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | clustering |
| Affects Version/s: | None |
| Fix Version/s: | Fluorine, Neon |
| Type: | Bug | Priority: | High |
| Reporter: | Sai MarapaReddy | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Epic Link: | Clustering Stability | ||||||||||||||||
| Description |
|
Scenario of 3-node cluster:- Bring up any of the shut down node (say node 2) |
| Comments |
| Comment by Sai MarapaReddy [ 07/Nov/17 ] |
|
For jolokia the leader information is fetched from [1] which in turn fetches from [2] karaf logs |
| Comment by Sai MarapaReddy [ 07/Nov/17 ] |
|
tpantelis |
| Comment by Tom Pantelis [ 02/Aug/18 ] |
|
I'm not really clear on the purpose of this Jira - it seems it's really asking a question rather than reporting a bug. The code paths to obtain the leader info in the 2 scenarios differ. jolokia is an on-demand read from the MBean. For transactions, the shard leader info is resolved and cached on the front-end for efficiency by the ShardManager via messages sent from the shard.
|