[SERVER-12286] Fix incomplete error message in role graph initialization code Created: 07/Jan/14 Updated: 11/Jul/16 Resolved: 21/Jan/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security, Usability |
| Affects Version/s: | 2.5.4 |
| Fix Version/s: | 2.5.5 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
in src/mongo/db/auth/authz_manager_external_state_local.cpp there is the error log message:
We should remove the TODO and make the error message more useful. |
| Comments |
| Comment by Githook User [ 21/Jan/14 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: |
| Comment by Spencer Brody (Inactive) [ 21/Jan/14 ] |
|
It looks to me like the only errors that could reasonably get here are ones thrown when querying admin.system.roles, for example if the disk device was unreachable. Given how little information we have about the nature of the error at this point, I'm not sure how much useful advice we can give for remedy steps. I'm leaning towards just removing the TODO and leaving the message otherwise as-is. |