<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:16:43 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>[CDRIVER-2923] bson_oid_init returns same oid after fork()</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2923</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;An application that calls fork() in a loop and then the forked processes call bson_oid_init() will end up with the same oid if called within the same second because the implementation of bson_oid_init() uses a cached per-process random even if BSON_CONTEXT_DISABLE_PID_CACHE is set.&lt;/p&gt;

&lt;p&gt;Introduced by:&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/8130e791c2a101a38fe5551c253c7b0dda894d3a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/8130e791c2a101a38fe5551c253c7b0dda894d3a&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="670497">CDRIVER-2923</key>
            <summary>bson_oid_init returns same oid after fork()</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.mongodb.org/images/icons/priorities/blocker.svg">Blocker - P1</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="13201">Fixed</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="henrik.edin@mongodb.com">Henrik Edin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Jan 2019 20:04:43 +0000</created>
                <updated>Sat, 28 Oct 2023 11:29:27 +0000</updated>
                            <resolved>Thu, 31 Jan 2019 20:27:45 +0000</resolved>
                                                    <fixVersion>1.14.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2133931" author="xgen-internal-githook" created="Thu, 31 Jan 2019 20:27:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2923&quot; title=&quot;bson_oid_init returns same oid after fork()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2923&quot;&gt;&lt;del&gt;CDRIVER-2923&lt;/del&gt;&lt;/a&gt; fix test string&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/6469ce0656be5e798964b00693a7e4958271afdb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/6469ce0656be5e798964b00693a7e4958271afdb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2116108" author="xgen-internal-githook" created="Tue, 15 Jan 2019 19:28:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;kevinAlbs&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;name&apos;: &apos;Kevin Albertson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2923&quot; title=&quot;bson_oid_init returns same oid after fork()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2923&quot;&gt;&lt;del&gt;CDRIVER-2923&lt;/del&gt;&lt;/a&gt; fix scan build&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/cb4bba6c29882ba3511c66df816b940b6af664fd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/cb4bba6c29882ba3511c66df816b940b6af664fd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2115998" author="xgen-internal-githook" created="Tue, 15 Jan 2019 18:29:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;kevinAlbs&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;name&apos;: &apos;Kevin Albertson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2923&quot; title=&quot;bson_oid_init returns same oid after fork()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2923&quot;&gt;&lt;del&gt;CDRIVER-2923&lt;/del&gt;&lt;/a&gt; remove unused variable&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/6819602432e98a70c6b5c13af9fba4c8c3ce8ae1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/6819602432e98a70c6b5c13af9fba4c8c3ce8ae1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2115956" author="xgen-internal-githook" created="Tue, 15 Jan 2019 18:09:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;kevinAlbs&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;name&apos;: &apos;Kevin Albertson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2923&quot; title=&quot;bson_oid_init returns same oid after fork()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2923&quot;&gt;&lt;del&gt;CDRIVER-2923&lt;/del&gt;&lt;/a&gt; check pid in oid generation&lt;/p&gt;

&lt;p&gt;The random five bytes in oid generation should be machine and&lt;br/&gt;
process unique, and should (by default) change if the process id&lt;br/&gt;
changes.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/35a642d2e21d890be54457868810e55532da6624&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/35a642d2e21d890be54457868810e55532da6624&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                        <issuelink>
            <issuekey id="576786">CDRIVER-2771</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu8zhr:</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>