[SERVER-70023] Make queryAnalyzer config doc deletion by collection UUID Created: 27/Sep/22 Updated: 24/Apr/23 Resolved: 24/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Israel Hsu | Assignee: | Cheahuychou Mao |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Sharding NYC
|
| Sprint: | Sharding NYC 2023-04-03, Sharding NYC 2023-04-17, Sharding NYC 2023-05-01 |
| Participants: |
| Description |
|
The deletion of the `config.queryAnalyzers` document during dropCollection is by namespace rather than by collection UUID, which is bad for performance. Note that the deletion during dropDatabase is already by collection UUID. |
| Comments |
| Comment by Israel Hsu [ 29/Sep/22 ] |
|
Pierlauro's comment https://github.com/10gen/mongo/pull/7769#pullrequestreview-1124720353 |