Il 05/06/15 22:40, Robert Coli ha scritto:

On Fri, Jun 5, 2015 at 7:53 AM, Sebastian Estevez
<sebastian.este...@datastax.com <mailto:sebastian.este...@datastax.com>>
wrote:

    Since you only restored one dc's sstables, you should be able to
    rebuild them on the second DC.

    Refresh means pick up new SSTables that have been directly added to
    the data directory.

    Rebuild means stream data from other replicas to re create SSTables
    from scratch.

Sebastian's response is correct; use rebuild. Sorry that I missed that
specific aspect of your question!

Thank you both.

So you mean that "refresh" needs to be used if the cluster is running, but if I stopped cassandra while copying the sstables then refresh is useless? So the error "No new SSTables were found" during my refresh attempt is due to the fact that the sstables in my data dir were not "new" because already loaded, and not to the files not being found?

So... if I stop the two nodes on the first DC, restore their sstables' files, and then restart the nodes, nothing else needs to be done on the first DC?

And on the second DC instead I just need to do "nodetool rebuild -- FirstDC" on _both_ nodes?

--
01

Reply via email to