<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:57:21 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-1555] Add UTF-8 Validation Option on mongodump and mongorestore</title>
                <link>https://jira.mongodb.org/browse/SERVER-1555</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Recently made database dump that I was apparently able to reimport but which gave me a &quot;Invalid UTF-8 Data&quot; error when I tried to query it upon restoration.  The dump or the restoration failed, but I don&apos;t know which because I can&apos;t tell if the db dump resulted in a file filled with valid data.  Similarly, I couldn&apos;t tell if the restoration had succeeded whenever I went to restore the data.&lt;/p&gt;</description>
                <environment>Ubuntu @ EC2</environment>
        <key id="12643">SERVER-1555</key>
            <summary>Add UTF-8 Validation Option on mongodump and mongorestore</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="4">Incomplete</resolution>
                                        <assignee username="kristina">Kristina Chodorow</assignee>
                                    <reporter username="jtzl">J. Gray</reporter>
                        <labels>
                    </labels>
                <created>Tue, 3 Aug 2010 14:59:39 +0000</created>
                <updated>Tue, 29 May 2012 14:53:18 +0000</updated>
                            <resolved>Wed, 17 Nov 2010 18:39:29 +0000</resolved>
                                    <version>1.4.4</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="20409" author="kristina" created="Wed, 17 Nov 2010 18:39:29 +0000"  >&lt;p&gt;Please comment if this is still a problem for you.&lt;/p&gt;</comment>
                            <comment id="18684" author="eliot" created="Wed, 29 Sep 2010 21:49:28 +0000"  >&lt;p&gt;any more info on this?&lt;/p&gt;</comment>
                            <comment id="16433" author="eliot" created="Tue, 3 Aug 2010 16:29:12 +0000"  >&lt;p&gt;there is a bsondump utility if you compile from master.&lt;br/&gt;
you can use that to view raw bson files&lt;/p&gt;

&lt;p&gt;it will be included in 1.6.0&lt;/p&gt;</comment>
                            <comment id="16432" author="jtzl" created="Tue, 3 Aug 2010 16:23:23 +0000"  >&lt;p&gt;The shell is where I&apos;m seeing this error; I&apos;ve been writing data via php and then reading it at the shell so I can have an idea of what the query should look like before putting it on to the web with php.  My understanding is that the php driver that I&apos;m using doesn&apos;t allow the insertion of bad data.&lt;/p&gt;

&lt;p&gt;What do you think would cause this error if not dump/restore?  I asked at 10gen office hours last week if there was any way to view/edit a dump file and got the impression there&apos;s not (actually, they did say something about a ruby-based viewer that doesn&apos;t allow editing), so I guess I&apos;m looking for suggestions on how to verify that my dump file is good before deleting my db and/or how to verify that a dump file will restore properly.  Please let me know if anything comes to mind.&lt;/p&gt;</comment>
                            <comment id="16429" author="eliot" created="Tue, 3 Aug 2010 16:12:24 +0000"  >&lt;p&gt;The odds of it being dump/restore are incredibly small.&lt;br/&gt;
If you&apos;re getting a utf-8 error, and not a bson error - there is almost 0 chance it has do with dump/restore.&lt;br/&gt;
I know the php driver allowed you to insert bad utf-8 data before.&lt;br/&gt;
Have you used the shell to view data before? or just php?&lt;/p&gt;</comment>
                            <comment id="16428" author="jtzl" created="Tue, 3 Aug 2010 16:07:53 +0000"  >&lt;p&gt;I don&apos;t have the original database anymore so cannot confirm it didn&apos;t have the same issue, but I was only loading data in with the php driver and never experienced the error message, leading me to speculate that I didn&apos;t have this issue prior to the dump.  Given that I had the dbpath and dump on the same 10GB EBS volume, it seems most likely that I wrote a dump file that ended unexpectedly or that the dump file restoration ended unexpectedly, and I&apos;m hoping to have a means by which to determine whether it&apos;s the dump file or the restoration that leads to the &quot;Invalid UTF-8&quot; error.&lt;/p&gt;</comment>
                            <comment id="16425" author="eliot" created="Tue, 3 Aug 2010 15:02:05 +0000"  >&lt;p&gt;Are you sure the original database doesn&apos;t have the same issue?&lt;br/&gt;
Do you still have it?&lt;/p&gt;

&lt;p&gt;We don&apos;t modify bson in/out - so i don&apos;t think this is a dump/restore issue.&lt;/p&gt;

&lt;p&gt;what driver are you using?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 3 Aug 2010 15:02:05 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 14 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 14 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>jtzl</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hriion:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hriibj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>21620</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hri6rb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>