You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Adeel Akbar <ad...@panasiangroup.com> on 2012/12/04 14:26:26 UTC

Nodes not synced

Hi,

I have setup 2 nodes cluster with Replica factor 2. I have restored 
snapshot of another cluster on Node A and restarted cassandra process. 
Node B stil not get any update/data from Node A. Do we need to execute 
any command to sync both nodes?

# /opt/apache-cassandra-1.1.4/bin/nodetool -h localhost ring
Address           DC          Rack        Status State Load            
Effective-Ownership Token
91902851206288351623775585543017122534
XX.XX.XX.XXA      0           0           Up     Normal *264.98 GB* 
0.00% 59394911263811417432307015371109991999
XX.XX.XX.XXB      0           0           Up     Normal *67.34 KB* 
0.00%               91902851206288351623775585543017122534
-- 


Looking for your prompt response.

*Adeel*


Re: Nodes not synced

Posted by aaron morton <aa...@thelastpickle.com>.
> Node B stil not get any update/data from Node A. Do we need to execute any command to sync both nodes?
Are you seeing the MutationStage completed tasks count change in nodetool tpstats ?

> # /opt/apache-cassandra-1.1.4/bin/nodetool -h localhost ring
> Address           DC          Rack        Status State   Load            Effective-Ownership Token                                       
>                                                                                            91902851206288351623775585543017122534      
> XX.XX.XX.XXA      0           0           Up     Normal  264.98 GB       0.00%               59394911263811417432307015371109991999      
> XX.XX.XX.XXB      0           0           Up     Normal  67.34 KB        0.00%               91902851206288351623775585543017122534  
Something looks odd with the effective ownership here. 
Check the schema has the RF you think it does. 

You can also run nodetool repair to make sure the data is fully distributed. 

Cheers


-----------------
Aaron Morton
Freelance Cassandra Developer
New Zealand

@aaronmorton
http://www.thelastpickle.com

On 5/12/2012, at 2:26 AM, Adeel Akbar <ad...@panasiangroup.com> wrote:

> Hi,
> 
> I have setup 2 nodes cluster with Replica factor 2. I have restored snapshot of another cluster on Node A and restarted cassandra process. Node B stil not get any update/data from Node A. Do we need to execute any command to sync both nodes?
> 
> # /opt/apache-cassandra-1.1.4/bin/nodetool -h localhost ring
> Address           DC          Rack        Status State   Load            Effective-Ownership Token                                       
>                                                                                            91902851206288351623775585543017122534      
> XX.XX.XX.XXA      0           0           Up     Normal  264.98 GB       0.00%               59394911263811417432307015371109991999      
> XX.XX.XX.XXB      0           0           Up     Normal  67.34 KB        0.00%               91902851206288351623775585543017122534    
> -- 
> 
> Looking for your prompt response. 
> 
> Adeel
>