[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14108036#comment-14108036
 ] 

Raul Gutierrez Segales commented on ZOOKEEPER-1787:
---------------------------------------------------

Not sure. Local sessions are not enabled by default though:

{noformat}
    /**
     * Whether learners in this quorum should create new sessions as local.
     * False by default to preserve existing behavior.
     */
    protected boolean localSessionsEnabled = false;
{noformat}

so it won't actually break out of the box rolling upgrades. 

> Add support for enabling local session in rolling upgrade
> ---------------------------------------------------------
>
>                 Key: ZOOKEEPER-1787
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1787
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.5.0
>            Reporter: Thawan Kooburat
>            Assignee: Raul Gutierrez Segales
>            Priority: Minor
>         Attachments: ZOOKEEPER-1787.patch
>
>
> Currently, local session need to be enable by stopping the entire ensemble. 
> If a rolling upgrade is used, all write request from a local session will 
> fail with session move until the local session is enabled on the leader.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to