[SERVER-27761] view can be created on top of a view with different collation than underlying view Created: 19/Jan/17 Updated: 15/Aug/17 Resolved: 04/Apr/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 3.4.1 |
| Fix Version/s: | 3.4.4, 3.5.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Asya Kamsky | Assignee: | Kyle Suarez |
| Resolution: | Done | Votes: | 0 |
| Labels: | read-only-views | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||
| Backwards Compatibility: | Fully Compatible | ||||||
| Operating System: | ALL | ||||||
| Backport Completed: | |||||||
| Backport Requested: |
v3.4
|
||||||
| Steps To Reproduce: |
|
||||||
| Sprint: | Query 2017-03-27, Query 2017-04-17 | ||||||
| Participants: | |||||||
| Description |
|
If you create a view with collation on non-existent view and then create that underlying view with different collation, it seems to be allowed which violates "no overriding collation by view on top of another view". |
| Comments |
| Comment by Githook User [ 14/Apr/17 ] |
|
Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'kyle.suarez@mongodb.com'}Message: Keeps track of the collation of views in the ViewGraph, to ensure that all views in the same (cherry picked from commit 476c7733f5dc01011e1ebd9d7818aad8d63a1781) Conflicts: |
| Comment by Githook User [ 04/Apr/17 ] |
|
Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'kyle.suarez@mongodb.com'}Message: Keeps track of the collation of views in the ViewGraph, to ensure that all views in the same |
| Comment by Asya Kamsky [ 19/Jan/17 ] |
|
The same could happen if view is created on top of view with same collation, but then you can drop the underlying view and re-create it with a different collation... |