Thanks for the response, Komal. I forgot to reply to all in my
previous email.

This is not supported intentionally. Please consider the leadership switch
case, if the new leader requires more resources after, the state transition
may very possibly fail when the participant is highly utilized. In this
case, the existence of followers becomes less valuable.
So the assumption is that all replicas should have the same capacity
requirements.

Regarding your initial question, I don't think there is official support
although it is technically possible. Basically you will need to ensure the
new state model is compatible with the older one. So the controller can
smoothly transite older states to the newer one. A transient state model
might be required if the new model contains different states from the older
model.

On Wed, Aug 16, 2023, 12:21 PM Komal Desai <[email protected]> wrote:

> Answer to this question is: currently in WAGED, all replicas of the same
> partitions are created with the same weight.
>
> thanks,
> komal
>
> On Wed, Aug 16, 2023 at 8:00 AM William Morgan <[email protected]>
> wrote:
>
>> Also as a follow-on, is it possible to customize things around resource
>> capacities?
>>
>> An example being that we currently have the PARTITION_CAPACITY_MAP set up
>> so that we define that each partition requires 30GB of space. But only the
>> leader partitions require that space while the follower partitions require
>> almost no space.
>>
>> Would it be possible to specify that the leader partitions require X
>> capacity while the follower partitions require Y capacity?
>> ------------------------------
>> *From:* William Morgan <[email protected]>
>> *Sent:* Wednesday, August 16, 2023 10:54 AM
>> *To:* [email protected] <[email protected]>
>> *Subject:* Changing State Models for a resource
>>
>> Hi all,
>>
>> I'm just curious: is it possible to change the state model that a helix
>> resource is using, without completely having to recreate/create a new
>> resource?
>>
>> Thanks,
>> Will
>>
>

Reply via email to