Vishal K commented on ZOOKEEPER-907:


What do you mean by partial sync? Will the follower still sync with the leader?

Can you explain how sync works?  I was going throught the code flow. I traced 
the sync call, but I could find the place that performs the data transfer 
between the leader and follwer.

I will cleanup the patch. As per the test goes,  I am not sure what is the best 
way to check if a server has received a request with null owner. I was planning 
to add a test that will initiate all zk client requests. In 
SessionTrackerImpl.checkesession(), set a flag if it sees a null owner. At the 
end of the test, fail the test if the flag is set. Any suggestions?


> Spurious "KeeperErrorCode = Session moved" messages
> ---------------------------------------------------
>                 Key: ZOOKEEPER-907
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-907
>             Project: Zookeeper
>          Issue Type: Bug
>    Affects Versions: 3.3.1
>            Reporter: Vishal K
>            Assignee: Vishal K
>            Priority: Blocker
>             Fix For: 3.3.2, 3.4.0
>         Attachments: ZOOKEEPER-907.patch
> The sync request does not set the session owner in Request.
> As a result, the leader keeps printing:
> 2010-07-01 10:55:36,733 - INFO  [ProcessThread:-1:preprequestproces...@405] - 
> Got user-level KeeperException when processing sessionid:0x298d3b1fa90000 
> type:sync: cxid:0x6 zxid:0xfffffffffffffffe txntype:unknown reqpath:/ Error 
> Path:null Error:KeeperErrorCode = Session moved

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to