You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Kaijie Chen (Jira)" <ji...@apache.org> on 2023/02/07 07:31:00 UTC

[jira] [Updated] (RATIS-1769) Do not change priority in TransferCommand

     [ https://issues.apache.org/jira/browse/RATIS-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaijie Chen updated RATIS-1769:
-------------------------------
    Description: 
This is a followup of RATIS-1762. -TransferCommand should not change priority of peers (or at least not by default).-

-Sadly this will break backward compatibility. But version 3.0 hasn't been released, so it might be OK.-

Add a new TransferLeadershipCommand which will not change priority of peers when transfer leadership.
The old TransferCommand is deprecated and keeped as is for backward compatibility reasons.

Example:

{{bin/ratis sh election transferLeader -peers 127.0.0.1:10024,127.0.0.1:10124,127.0.0.1:11124 -address 127.0.0.1:10024}}

  was:
This is a followup of RATIS-1762. TransferCommand should not change priority of peers (or at least not by default).

Sadly this will break backward compatibility. But version 3.0 hasn't been released, so it might be OK.


> Do not change priority in TransferCommand
> -----------------------------------------
>
>                 Key: RATIS-1769
>                 URL: https://issues.apache.org/jira/browse/RATIS-1769
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: Kaijie Chen
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> This is a followup of RATIS-1762. -TransferCommand should not change priority of peers (or at least not by default).-
> -Sadly this will break backward compatibility. But version 3.0 hasn't been released, so it might be OK.-
> Add a new TransferLeadershipCommand which will not change priority of peers when transfer leadership.
> The old TransferCommand is deprecated and keeped as is for backward compatibility reasons.
> Example:
> {{bin/ratis sh election transferLeader -peers 127.0.0.1:10024,127.0.0.1:10124,127.0.0.1:11124 -address 127.0.0.1:10024}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)