cassandra-medusa icon indicating copy to clipboard operation
cassandra-medusa copied to clipboard

DC name being overwritten in Restore process

Open HanumanthPrasad opened this issue 4 years ago • 2 comments

Project board link

Hi Team,

I am trying to restore cluster in a different DC but DC names are being overwritten in new cluster with the original ones. I had to disable authentication and change DC names of all keyspaces. Can you please provide a solution.

Thanks in advance !!

Thanks, Hanumanth Prasad

┆Issue is synchronized with this Jira Story by Unito

HanumanthPrasad avatar Apr 17 '20 07:04 HanumanthPrasad

Thanks for reporting the issue @HanumanthPrasad. There's definitely something we need to deal with regarding DC names.

adejanovski avatar Apr 17 '20 09:04 adejanovski

Notes from planning:

  • This will probably only work with sstable loader. Without it, we restore schema direclty, and automating tweaking that would be way too ugly.
  • We should make Medusa fail early and clearly if the above is about to go down.
  • Also, we'll need to store information about which DC got backed up somewhere in the backup metadata (probably in the tokenmap).

rzvoncek avatar May 25 '20 12:05 rzvoncek