Skip to content

Commit

Permalink
Use ForceRemoval option with revive (#804)
Browse files Browse the repository at this point in the history
This was mistakenly removed in the last VCluster API refresh (#741).
Without this, if there is an error during revive, then it will complain
that local catalog/data/depot dirs are not empty.
  • Loading branch information
spilchen authored May 10, 2024
1 parent c600f8b commit 4153fb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/vadmin/revive_db_vc.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func (v *VClusterOps) genReviveDBOptions(s *revivedb.Parms, certs *HTTPSCerts) *
opts.IPv6 = net.IsIPv6(opts.RawHosts[0])
opts.CommunalStorageLocation = s.CommunalPath
opts.ConfigurationParameters = s.ConfigurationParams
opts.ForceRemoval = true
opts.IgnoreClusterLease = s.IgnoreClusterLease

// auth options
Expand Down

0 comments on commit 4153fb2

Please sign in to comment.