[prev in list] [next in list] [prev in thread] [next in thread]
List: cassandra-dev
Subject: Re: [DISCUSS] Gossip Protocol Change
From: "Cheng Wang via dev" <dev () cassandra ! apache ! org>
Date: 2024-05-16 20:24:20
Message-ID: CAJgRRvPDtNjsJ3_eQH=yppuOcgPc+3Jy_8MuaQ0ruPJ6Hot8XQ () mail ! gmail ! com
[Download RAW message or body]
Hi Cameron,
Just want to make sure I understood correctly. So your observation was at
the end of the shadow round, some nodes have empty endpointStateMap? But I
read the code at GossipDigestSynVerbHandler::createShadowReply
it seems that the receiving node will reply with a full stateMap?
return Message.out(GOSSIP_DIGEST_ACK, new
GossipDigestAck(Collections.emptyList(), stateMap));
[Attachment #3 (text/html)]
<div dir="ltr">Hi Cameron, <div><br></div><div>Just want to make sure I understood \
correctly. So your observation was at the end of the shadow round, some nodes have \
empty endpointStateMap? But I read the code at <span \
style="font-family:"JetBrains \
Mono",monospace;font-size:9.8pt;background-color:rgb(30,31,34);color:rgb(188,190,196)">GossipDigestSynVerbHandler::</span><span \
style="color:rgb(86,168,245);font-family:"JetBrains \
Mono",monospace;font-size:9.8pt;background-color:rgb(30,31,34)">createShadowReply</span></div>it \
seems that the receiving node will reply with a full stateMap?<div><div \
style="background-color:rgb(30,31,34);color:rgb(188,190,196)"><pre \
style="font-family:"JetBrains Mono",monospace;font-size:9.8pt"><span \
style="color:rgb(207,142,109)">return </span>Message.<span \
style="font-style:italic">out</span>(<span \
style="color:rgb(199,125,187);font-style:italic">GOSSIP_DIGEST_ACK</span>, <span \
style="color:rgb(207,142,109)">new </span>GossipDigestAck(Collections.<span \
style="font-style:italic">emptyList</span>(), stateMap));<br></pre></div></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic