Skip to content

Commit 0f0bb9b

Browse files
committed
WIP
1 parent 6db9573 commit 0f0bb9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/ROOT/pages/clustering/disaster-recovery.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,11 @@ Furthermore, it might require the topology for a database to be altered to make
178178
=====
179179
180180
. Run `SHOW DATABASES`. If a database show `currentStatus`= `offline` this database has been stopped.
181-
. For each stopped database that has at least one allocation on any of the `CORDONED` servers, start them by running `START DATABASE stopped-db WAIT`.
181+
. For each stopped database, start them by running `START DATABASE stopped-db WAIT`.
182+
// Is it a problem that it might not have started yet here? Should I write a line about making sure it is started before checking the write availability?
183+
// Cannot use wait here, because we will hang on lost members that are stopped. Should poll for started state on all non-lost members, but there are some situation where we will not be able to start. So how long should they wait here?
182184
This is necessary since stopped databases cannot be moved from one server to another.
185+
// And since status check doesn't work otherwise.
183186
+
184187
[NOTE]
185188
=====
@@ -193,6 +196,7 @@ If any of the primary allocations for a database report `replicationSuccessful`
193196
Go to xref:clustering/databases.adoc#recreate-databases[Recreate databases] for more information about recreate options.
194197
If any allocation has `currentStatus` = `QUARANTINED`, recreate them from backup using xref:clustering/databases.adoc#uri-seed[Backup as seed] or define seeding servers in the recreate procedure using xref:clustering/databases.adoc#specified-servers[Specified seeders] so that problematic allocations are excluded.
195198
Remember to make sure there are recent backups for the databases before recreating them, see xref:backup-restore/online-backup.adoc[Online backup] for more information.
199+
// What if a quarantined database had the desire to be stopped? Check quarantine before stopped?
196200
+
197201
[NOTE]
198202
=====

0 commit comments

Comments
 (0)