Andrew Carman commented on ZOOKEEPER-30:

Harvey Mudd Clinic Team writes:

1) How do you suggest we deal with zxids? They are integral to Zab and ZK, but 
they are currently assigned by ZooKeeperServer. We think they should be moved 
into quorum. Is this what you are suggesting by indicating "propose(byte 
message[])" return a zxid (Zab transaction identifier)?

2) Should Zab handle writing the log to a file or is that ZK's responsibility 
when "deliver" is called?

3) How does propose work more specifically? What is the state of the proposal 
when propose returns? Does it return as soon as the Zab leader has seen it (and 
assigned a zxid) or does it wait for the proposal to be accepted (so a deliver 
never needs to be called).

4) How does the state transfer work? Are we transferring the entire log up to 
that point? Some snapshot?

5) We're also unclear on how the leader (both of ZK and Zab) is going to work. 
I think this may be up in the air (based on the Jira bug) still - in our minds 
the option that makes the most sense is to get rid of the ZK leader, and just 
have a Zab leader. Any further thoughts on this?

> Hooks for atomic broadcast protocol
> -----------------------------------
>                 Key: ZOOKEEPER-30
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-30
>             Project: Zookeeper
>          Issue Type: New Feature
>            Reporter: Patrick Hunt
>            Assignee: Mahadev konar
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1938788&group_id=209147&atid=1008547

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