[SERVER-3138] Can't operate on a database with a Unicode BOM in its name Created: 24/May/11 Updated: 29/Aug/11 Resolved: 26/May/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.8.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Seamus Abshere | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 11.04 |
||
| Operating System: | Linux |
| Participants: |
| Description |
|
I somehow have a database named U+FEFF (i.e., the Unicode byte order mark). $ mongo --username admin --password XXXXXXX admin I actually had to delete the (invisible) BOM from this paste in order to submit the issue. Needless to say I can't delete it, because the shell thinks it's an empty string (or a bad character). I have no idea how it got there. (lol) By the way, this appeared after I set up a replica set. |
| Comments |
| Comment by Seamus Abshere [ 25/May/11 ] |
|
I believe this was part of a wider corruption problem that happened after a power failure. I fixed it with mongodump and then mongorestore. |