[SERVER-62933] Only clone tenant databases Created: 24/Jan/22 Updated: 22/Feb/22 Resolved: 09/Feb/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | Backlog |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Christopher Caplinger |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | shard-merge-milestone-1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
The tenant file cloner logic currently copies all donor databases. Exclude "local", "config", "admin", etc., and any database not named like tenantId_dbName. NamespaceString has a method like isInternalDb() or something that can help. |
| Comments |
| Comment by Christopher Caplinger [ 09/Feb/22 ] |
|
At clone-time, we don't actually know the namespace(s) of what we're cloning. Rather, we clone various WiredTiger files and resolve during import via mdb catalog. Closing this for now. We can reopen if we decide this optimization is worth it down the line. |