<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:35:59 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>[CSHARP-162] Thread is not in a request from GridFS.Upload</title>
                <link>https://jira.mongodb.org/browse/CSHARP-162</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;I have an application that is running on multiple threads.  It creates some files during certain conditions, and attempts to save them to GridFS. After running for a few minutes, it will crash with the following exception:&lt;/p&gt;

&lt;p&gt;Thread is not in a request (did you call RequestStart?)&lt;/p&gt;

&lt;p&gt;Here is what the call looks like:&lt;/p&gt;

&lt;p&gt;var fileInfo = _database.GridFS.Upload(fileStream, fileName);&lt;/p&gt;</description>
                <environment>Windows 7 x64</environment>
        <key id="14362">CSHARP-162</key>
            <summary>Thread is not in a request from GridFS.Upload</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="5">Cannot Reproduce</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="poindexter12">Joe Seymour</reporter>
                        <labels>
                    </labels>
                <created>Mon, 31 Jan 2011 01:23:32 +0000</created>
                <updated>Thu, 2 Apr 2015 18:27:49 +0000</updated>
                            <resolved>Tue, 1 Feb 2011 16:23:20 +0000</resolved>
                                    <version>0.11</version>
                                    <fixVersion>0.11</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="22946" author="rstam" created="Tue, 1 Feb 2011 16:23:20 +0000"  >&lt;p&gt;Closed.&lt;/p&gt;</comment>
                            <comment id="22943" author="poindexter12" created="Tue, 1 Feb 2011 15:51:35 +0000"  >&lt;p&gt;I&apos;ve been running the master code for a couple of days now and this error is gone.  I think it can be closed.&lt;/p&gt;</comment>
                            <comment id="22880" author="rstam" created="Mon, 31 Jan 2011 17:52:56 +0000"  >&lt;p&gt;I created a test program that uses multiple threads to call GridFS.Upload in parallel.&lt;/p&gt;

&lt;p&gt;I set it to 20 threads, each uploading 1MB of zeroes.&lt;/p&gt;

&lt;p&gt;Couldn&apos;t reproduce, but if you see it again please report back.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="22876" author="rstam" created="Mon, 31 Jan 2011 16:52:13 +0000"  >&lt;p&gt;There aren&apos;t any changes since v0.11 that would explain why you are no longer see this when using a driver built from master. But if you see this again a stack trace would be helpful.&lt;/p&gt;</comment>
                            <comment id="22875" author="poindexter12" created="Mon, 31 Jan 2011 16:41:31 +0000"  >&lt;p&gt;I can if you would like.  I needed some way to work around this, so I was going to dive into the code myself.  I got the master from git, and it doesn&apos;t seem to be an issue anymore.  Would you still like the stack trace?&lt;/p&gt;</comment>
                            <comment id="22874" author="rstam" created="Mon, 31 Jan 2011 16:38:35 +0000"  >&lt;p&gt;Can you provide a stack trace?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrh9c7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14312</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>