-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
2
We should provide a unique and centralized list of collections that should be excluded for dump/restore purposes and maintain it over time. The consumers of this list will be all internal and user facing backup/restore tools.
The basic idea would be to expose an "internal:true" flag for collections that are not containing user data. The approach should be similar to the one adopted in SERVER-81864: the implementer should evaluate whether to add the field to the output of one or more of the following commands: listCollections, $listCatalog or $$listClusterCatalog.
To determine whether a collection is internal, at moment it's probably just needed to look at the database it falls into (admin, config, local). Exposing the information at collection level rather than database level is a future-proof solution: the proposed structure also works if there will ever be internal collections falling under user databases.
- related to
-
SERVER-81864 Provide an API to obtain a list of necessary config database collections for debugging
- Closed