<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:49:33 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-4845] System.IO.FileLoadException: Could not load file or assembly &apos;MongoDB.Driver.Legacy, Culture=neutral, PublicKeyToken=null&apos;. The process cannot access the file because it is being used by another process</title>
                <link>https://jira.mongodb.org/browse/CSHARP-4845</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;h4&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;Summary&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;When running parallel tests in multiple processes, tests will randomly fail. (NCrunch)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;System.IO.FileLoadException: Could not load file or assembly &apos;MongoDB.Driver.Legacy, Culture=neutral, PublicKeyToken=null&apos;. The process cannot access the file because it is being used by another process. (0x80070020)&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, StackCrawlMarkHandle stackMark, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack type, ObjectHandleOnStack keepalive)&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark&amp;amp; stackMark, AssemblyLoadContext assemblyLoadContext)&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at System.Type.GetType(String typeName)&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at MongoDB.Driver.Core.Connections.ClientDocumentHelper.&amp;lt;CreateDriverDocument&amp;gt;g&lt;/em&gt;&lt;em&gt;IsLegacyLoaded|6_0()&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at MongoDB.Driver.Core.Connections.ClientDocumentHelper.CreateDriverDocument(String driverVersion)&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at MongoDB.Driver.Core.Connections.ClientDocumentHelper.CreateDriverDocument()&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;--- End of stack trace from previous location ---&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at System.Lazy`1.CreateValue()&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at MongoDB.Driver.Core.Connections.ClientDocumentHelper.CreateClientDocument(String applicationName)&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at MongoDB.Driver.Core.Connections.BinaryConnectionFactory..ctor(ConnectionSettings settings, IStreamFactory streamFactory, IEventSubscriber eventSubscriber, ServerApi serverApi, ILoggerFactory loggerFactory)&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at MongoDB.Driver.Core.Configuration.ClusterBuilder.CreateConnectionPoolFactory()&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at MongoDB.Driver.Core.Configuration.ClusterBuilder.CreateServerFactory()&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at MongoDB.Driver.Core.Configuration.ClusterBuilder.CreateClusterFactory()&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at MongoDB.Driver.ClusterRegistry.CreateCluster(ClusterKey clusterKey)&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at MongoDB.Driver.ClusterRegistry.GetOrCreateCluster(ClusterKey clusterKey)&lt;/em&gt;&lt;br/&gt;
&#160; &#160;&lt;em&gt;at MongoDB.Driver.MongoClient..ctor(MongoClientSettings settings)&lt;/em&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Pleaseprovidetheversionofthedriver.Ifapplicable%2CpleaseprovidetheMongoDBserverversionandtopology%28standalone%2Creplicaset%2Corshardedcluster%29.&quot;&gt;&lt;/a&gt;Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).&lt;/h4&gt;

&lt;p&gt;2.19.2 (standalone, docker).&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;HowtoReproduce&quot;&gt;&lt;/a&gt;How to Reproduce&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;Using NCrunch or similar, run tests which will result in the exception, typically within a few seconds. Alternatively churn a single test&lt;/em&gt; &lt;em&gt;until failure will result in same.&lt;/em&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;AdditionalBackground&quot;&gt;&lt;/a&gt;Additional Background&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;Please provide any additional background information that may be helpful in diagnosing the bug.&lt;/em&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2503339">CSHARP-4845</key>
            <summary>System.IO.FileLoadException: Could not load file or assembly &apos;MongoDB.Driver.Legacy, Culture=neutral, PublicKeyToken=null&apos;. The process cannot access the file because it is being used by another process</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="13203">Gone away</resolution>
                                        <assignee username="adelin.mbidaowona@mongodb.com">Adelin Mbida Owona</assignee>
                                    <reporter username="dhickey@gmail.com">Damian Hickey</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Nov 2023 16:42:06 +0000</created>
                <updated>Wed, 24 Jan 2024 18:16:45 +0000</updated>
                            <resolved>Wed, 24 Jan 2024 18:16:43 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="6038568" author="dbeng-pm-bot" created="Wed, 24 Jan 2024 18:16:45 +0000"  >&lt;p&gt;There hasn&apos;t been any recent activity on this ticket, so we&apos;re resolving it. Thanks for reaching out! Please feel free to reopen this ticket if you&apos;re still experiencing the issue, and add a comment if you&apos;re able to provide more information.&lt;/p&gt;</comment>
                            <comment id="5910855" author="JIRAUSER1272639" created="Tue, 28 Nov 2023 22:46:30 +0000"  >&lt;p&gt;I will try to prepare a rerpo and put it on github.&lt;/p&gt;</comment>
                            <comment id="5908698" author="dbeng-pm-bot" created="Tue, 28 Nov 2023 13:11:03 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dhickey%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;dhickey@gmail.com&quot;&gt;dhickey@gmail.com&lt;/a&gt;! &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4845&quot; title=&quot;System.IO.FileLoadException: Could not load file or assembly &amp;#39;MongoDB.Driver.Legacy, Culture=neutral, PublicKeyToken=null&amp;#39;. The process cannot access the file because it is being used by another process&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4845&quot;&gt;&lt;del&gt;CSHARP-4845&lt;/del&gt;&lt;/a&gt; is awaiting your response. &lt;/p&gt;

&lt;p&gt;If this is still an issue for you, please open Jira to review the latest status and provide your feedback. Thanks!&lt;/p&gt;</comment>
                            <comment id="5893600" author="JIRAUSER1269496" created="Mon, 20 Nov 2023 21:00:32 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dhickey%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;dhickey@gmail.com&quot;&gt;dhickey@gmail.com&lt;/a&gt;, can you please provide more detailed info on how to reproduce this bug such as code setup/environment setup?&lt;/p&gt;</comment>
                            <comment id="5888635" author="dbeng-pm-bot" created="Fri, 17 Nov 2023 16:42:09 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dhickey%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;dhickey@gmail.com&quot;&gt;dhickey@gmail.com&lt;/a&gt;, thank you for reporting this issue! The team will look into it and get back to you soon. &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|i2iu38:</customfieldvalue>

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