[SERVER-29278] Two Phase Drops: scans on system.namespaces should exclude drop-pending namespaces Created: 18/May/17 Updated: 27/Oct/23 Resolved: 20/Jun/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | William Schultz (Inactive) |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Repl 2017-06-19, Repl 2017-07-10 | ||||||||
| Participants: | |||||||||
| Description |
|
With 2-phase drops, the behavior of scans on system.namespaces, which is a generated collection on WiredTiger and shows all collections and indexes, should be changed to hide drop-pending collections and their associated indexes. |
| Comments |
| Comment by William Schultz (Inactive) [ 20/Jun/17 ] |
|
Since the system.namespaces is a collection used internally by mmap, it is not expected that users should be accessing it or viewing it under normal circumstances. Changing behavior related to this collection would likely just add more confusion, so we will leave things as they are. |
| Comment by William Schultz (Inactive) [ 19/Jun/17 ] |
|
benety.goh After talking with geert.bosch about this, he is wary about adding any kind of special handling for things related to the system.namespaces collection, since it is used internally on mmap as a catalog of collections. It seems that this might not be a necessary change. |