[SERVER-25557] String with length of 64 can be used as a Database name, but we can't do anything with that database Created: 11/Aug/16 Updated: 04/Apr/23 Resolved: 17/Aug/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.12 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Aravind Kumar | Assignee: | Kyle Suarez |
| Resolution: | Done | Votes: | 0 |
| Labels: | pull-request | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 64 bit |
||
| Attachments: |
|
| Backwards Compatibility: | Fully Compatible |
| Operating System: | Linux |
| Participants: |
| Description |
|
When creating a database name of length 64, the database gets created. |
| Comments |
| Comment by Kyle Suarez [ 17/Aug/16 ] | |||||||||||||||||||
|
Thanks aravindkumarsvg, the fix has been committed to master. And thank you to bjori for the pull request! | |||||||||||||||||||
| Comment by Githook User [ 17/Aug/16 ] | |||||||||||||||||||
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: Closes #1108 Signed-off-by: Kyle Suarez <kyle.suarez@mongodb.com> | |||||||||||||||||||
| Comment by Ramon Fernandez Marina [ 17/Aug/16 ] | |||||||||||||||||||
|
Thanks for reporting this behavior aravindkumarsvg, we're exploring a fix. Please continue to watch this ticket for updates. | |||||||||||||||||||
| Comment by Aravind Kumar [ 17/Aug/16 ] | |||||||||||||||||||
|
WriteResult({ }) In the above error message, its clearly shown that the database name should be between 1 to 63. But MongoDB is allowing me to enter 64 length database name with which I cant able to do nothing. | |||||||||||||||||||
| Comment by Hannes Magnusson [ 11/Aug/16 ] | |||||||||||||||||||
|
Guess there is an off by one there some where:
|