[
https://issues.apache.org/jira/browse/ZOOKEEPER-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14268139#comment-14268139
]
Alexander Shraer commented on ZOOKEEPER-2102:
---------------------------------------------
wow, we didn't commit that patch yet ??? need to do this ASAP. I'll try to find
time.
the problem may indeed be in the sync phase, otherwise unclear why commit and
activate is sent to observers at all -
its being sent by the leader using this logic:
synchronized (forwardingFollowers) {
for (LearnerHandler f : forwardingFollowers) {
f.queuePacket(qp);
}
}
so shouldn't get to observers
can you try it with the patch and see if it solves the issue ?
> 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)