1

The documentation shows that it is easy to create a new region with redundancy.

However, the alter region command doesn't show any way to modify the redundancy on a region you're already using. Is this possible?

Olaf Kock
  • 46,930
  • 8
  • 59
  • 90
jocull
  • 20,008
  • 22
  • 105
  • 149

1 Answers1

2

As you correctly stated, there's no option exposed through the alter region command to change the number of redundant copies.

A simple workaround, however, would be to export the region data, destroy the region, re-create it using the new number of redundant copies, and import the data into the newly created region from scratch.

Juan Ramos
  • 1,421
  • 1
  • 8
  • 13
  • Hmmm this will work simply, but not for live regions. I think this would require you to do dual writing or some kind of workaround to stay available while updating to new replication settings? – jocull Nov 16 '20 at 12:55
  • I found this extra confusing because there are specific commands to `rebalance` and `restore redundancy`. Offhand it seems like an increase to a replication settings and one of these commands should work. – jocull Nov 16 '20 at 12:58
  • Yes, this will imply some downtime, that's for sure. Regarding `rebalance` and `restore redundancy` commands, they are used to achieve other purposes, not to change the actual region configuration. – Juan Ramos Nov 16 '20 at 16:10