[SERVER-27218] Startup warning recommending the use of XFS isn't displayed properly in Mongo Shell Created: 30/Nov/16 Updated: 05/Apr/17 Resolved: 30/Nov/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | 3.4.0 |
| Fix Version/s: | 3.4.1, 3.5.1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Amar Hamzeh | Assignee: | Kevin Pulo |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Minor Change | ||||||||
| Operating System: | ALL | ||||||||
| Backport Completed: | |||||||||
| Steps To Reproduce: | 1. Start a 3.4 instance with EXT4 and WiredTiger |
||||||||
| Sprint: | Storage 2016-12-12 | ||||||||
| Participants: | |||||||||
| Description |
|
The following warning introduced by
It's displayed as:
Where it should be:
|
| Comments |
| Comment by Githook User [ 05/Dec/16 ] |
|
Author: {u'username': u'devkev', u'name': u'Kevin Pulo', u'email': u'kevin.pulo@mongodb.com'}Message: (cherry picked from commit 5bd4529cffd8149f5471df5e8013828c1dcc1e4e) |
| Comment by Jonathan Reams [ 30/Nov/16 ] |
|
I've opened |
| Comment by Kevin Pulo [ 30/Nov/16 ] |
|
Yeah, I noticed that too, but it felt out of scope for this ticket. I also think that in that case, the message should be more like "The dbpath is not using XFS. Using the XFS files is strongly recommend ... etc etc" Definitely open another ticket for these changes. |
| Comment by Jonathan Reams [ 30/Nov/16 ] |
|
Can we also check that fs_stats.f_type != XFS_SUPER_MAGIC instead of fs_stats.f_type == EXT4_SUPER_MAGIC? It seems pretty silly to tell users to use XFS just because they're using ext4. If they switch to btrfs, fat32, or something, this warning would go away even though they aren't using XFS. I can open another ticket if this change is out of scope. |
| Comment by Githook User [ 30/Nov/16 ] |
|
Author: {u'username': u'devkev', u'name': u'Kevin Pulo', u'email': u'kevin.pulo@mongodb.com'}Message: |