[SERVER-41916] WiredTiger alter call in alterIdentMetadata should report index information on failure Created: 25/Jun/19 Updated: 29/Oct/23 Resolved: 10/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.0-rc3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Maria van Keulen | Assignee: | Maria van Keulen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v4.2
|
||||||||
| Sprint: | Execution Team 2019-07-15 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 19 | ||||||||
| Description |
|
Presently, WiredTigerKVEngine::alterIdentMetadata uses invariantWTOK on its call to WiredTiger alter. As a result, if the alter fails for some reason, e.g., "No such file or directory", it results in the following cryptic log line:
It would be more helpful to specify extra information about the offending index, e.g., the URI string, if the alter call fails. |
| Comments |
| Comment by Githook User [ 10/Jul/19 ] |
|
Author: {'name': 'Maria van Keulen', 'email': 'maria@mongodb.com', 'username': 'mvankeulen94'}Message: |