[CONTROLLER-1647] C: prefix based shard created improperly Created: 27/Apr/17 Updated: 25/Jul/23 Resolved: 05/May/17 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | clustering |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Peter Gubka | Assignee: | Jakub Morvay |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 8328 |
| Description |
|
when creating a new prefix shard with details a shard is created, but when checking a shard details via jolokia, details for |
| Comments |
| Comment by Tom Pantelis [ 27/Apr/17 ] |
|
Does this need to block the release? Are prefix shards even being used in yet in Carbon? Tomas - can you look into this? |
| Comment by Jakub Morvay [ 28/Apr/17 ] |
|
I think the root cause lies here Peers are ignored during creation of prefix based shard, so this new shard automatically becomes leader. I tried to play with this a little bit and change this to not to ignore peers. Locally, I can see the prefix based shards are created correctly, there is only one leader and all peers are taking part in election. However, now there is some problem with starting DistributedShardedDOMDataTree, default shards in particular. I cannot really tell, if this should block the release, but without this, we cannot use prefix based shards in carbon cluster. |
| Comment by Tom Pantelis [ 29/Apr/17 ] |
|
Downgrading to major to keep the blocker police off my back. Prefix shard functionality was just recently added so AFAIK no app is using it at this point and thus doesn't need to block the release. |
| Comment by Jakub Morvay [ 04/May/17 ] |