You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by DE VITO Dominique <do...@thalesgroup.com> on 2014/06/09 09:59:09 UTC

difference between AntiEntropySessions and AntiEntropyStage ?

Hi,

Nodetool tpstats gives 2 lines for anti-entropy: one for AntiEntropySessions and one for AntiEntropyStage.

What is the difference ?


a)      Is "AntiEntropySessions" for counting repairs on a node acting as a primary node (the target node for repair) ?
And is "AntiEntropyStage" for counting repair tasks on a node participating as a secondary node (not the target node for repair) ?



b)      Or is it something different ? And then, what is the meaning of these two counter families ?

Thanks.

Regards,
Dominique



Re: difference between AntiEntropySessions and AntiEntropyStage ?

Posted by Yuki Morishita <mo...@gmail.com>.
AntiEntropySessions is where all repair sessions are executed. You can
use this to count how many repair sessions are on going.
AntiEntropyStage is used to handle repair messages.

Usually you use AntiEntropySessions to check if repair is running.

On Mon, Jun 9, 2014 at 2:59 AM, DE VITO Dominique
<do...@thalesgroup.com> wrote:
> Hi,
>
>
>
> Nodetool tpstats gives 2 lines for anti-entropy: one for AntiEntropySessions
> and one for AntiEntropyStage.
>
>
>
> What is the difference ?
>
>
>
> a)      Is “AntiEntropySessions” for counting repairs on a node acting as a
> primary node (the target node for repair) ?
>
> And is “AntiEntropyStage” for counting repair tasks on a node participating
> as a secondary node (not the target node for repair) ?
>
>
>
> b)      Or is it something different ? And then, what is the meaning of
> these two counter families ?
>
>
>
> Thanks.
>
>
>
> Regards,
>
> Dominique
>
>
>
>



-- 
Yuki Morishita
 t:yukim (http://twitter.com/yukim)