From 974987fc664f19aedb350ebb9fdbd518d2cab1aa Mon Sep 17 00:00:00 2001 From: Gustaw Lippa Date: Thu, 30 Sep 2021 16:07:41 +0200 Subject: [PATCH] Add domain removal RDBMS info --- doc/developers-guide/domain_management.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/developers-guide/domain_management.md b/doc/developers-guide/domain_management.md index e424349e295..70dd566abec 100644 --- a/doc/developers-guide/domain_management.md +++ b/doc/developers-guide/domain_management.md @@ -100,9 +100,14 @@ We use `id` field to sort records when paginating. ### Domain removal -You are not allowed to delete domains with unknown host-type. +You cannot delete domains with unknown host-type. Configure host-type first to delete such domains. +Modules which store data in RDBMS and support dynamic domains will remove **all** persistent data associated with a domain when its removal is requested. +This is not the case for NoSQL databases or Mnesia. +Because of that, we recommend using RDBMS with dynamic domains. +Please note, that [`mod_auth_token`](../modules/mod_auth_token.md) is the only exception for now and does not remove data from RDBMS when removing a domain. + ## Service options Described in the [`services` section](../configuration/Services.md#service_domain_db).