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

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

Oops, this bug isn't so — I had an error in zab-dump which was printing the 
wrong message types! So all is good, sorry for the false alarm [~shralex]!

Here's a snippet of traffic with the bug fixed in zab-dump:

{noformat}
$ grep type log  | sort | uniq -c                                               
                                                      
   2793      type=ack,
   3860      type=commit,
  27087      type=inform,
   3584      type=ping,
   3648      type=proposal,
    769      type=request,
   2826      type=revalidate,
{noformat}

Which is more or less what we'd expect — no non-expected messages!

> commitandactivate messages spamming the quorum
> ----------------------------------------------
>
>                 Key: ZOOKEEPER-2102
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2102
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>            Reporter: Raul Gutierrez Segales
>
> Using zab-dump (https://github.com/twitter/zktraffic/pull/11), I am seeing 
> this in a prod cluster running 3.5.0 + patches:
> {noformat}
> QuorumPacket(
>      timestamp=18:45:35:962873,
>      src=10.0.1.1:2889,
>      type=commitandactivate,
>      zxid=292104572694,
>      length=114
> )
> QuorumPacket(
>      timestamp=18:45:35:962876,
>      src=10.0.1.1:2889,
>      type=commitandactivate,
>      zxid=292104572694,
>      length=114
> )
> QuorumPacket(
>      timestamp=18:45:35:962893,
>      src=10.0.1.1:2889,
>      type=commitandactivate,
>      zxid=292104572694,
>      length=114
> )
> ....
> {noformat}
> From a ~5min dump, I see ~80k QuorumPackets of which ~50k are 
> commitandactivate packets! Sounds like some sort of loop.
> Any ideas [~shralex]?
> cc: [~hdeng], [~fpj]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to