[SERVER-32702] dbtest indexupdate hits a bug while creating index on mobile SE Created: 15/Jan/18 Updated: 30/Oct/23 Resolved: 30/Jan/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sulabh Mahajan | Assignee: | Neha Khatri |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Storage 2018-01-29 |
| Participants: |
| Description |
|
dbtest indexupdate hits the issue: Invariant failure !dupsAllowed Once this bug is fixed, dbtest indexupdate should be made to run with mobile SE. |
| Comments |
| Comment by Sulabh Mahajan [ 01/Feb/18 ] | ||||
|
I confirm that the tests that were skipped for this ticket have been untagged and should run now. | ||||
| Comment by Githook User [ 30/Jan/18 ] | ||||
|
Author: {'email': 'neha.khatr@mongodb.com', 'name': 'nehakhatri5'}Message: Mobile storage engine does not support replication hence does not allow | ||||
| Comment by Neha Khatri [ 24/Jan/18 ] | ||||
|
The tests InsertBuildIgnoreUnique<true> and InsertBuildIgnoreUnique<false> in the indexupdatetests.cpp call indexer.ignoreUniqueConstraint() which causes the dupsAllowed option to be set to true for the index being created as shown:
Since Mobile SE does not support replication, it has the invariant check for dupsAllowed which fails for the above two tests. The above two tests are not valid for Mobile SE as it does not allow duplicate key in unique index. The specific two tests can disabled for Mobile storage engine. |