<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:05:26 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>[CXX-2284] Append platform data to handshake</title>
                <link>https://jira.mongodb.org/browse/CXX-2284</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;&lt;b&gt;Motivation&lt;/b&gt; Currently, the C++ driver only appends the version and name to the C driver&apos;s handshake. It would be useful for analytics and debugging to append additional data. E.g. appending the C++ compiler and C++ standard could give us insight into compiler usage and help us make more informed decisions on when we should add continuous integration tests for new compilers/standards or we can drop support.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Scope&lt;/b&gt;&lt;br/&gt;
Append a string to the handshake platform. In &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/blob/c040e6c1bb53e8ba81340ffc736538b1fe5298f8/src/mongocxx/instance.cpp#L93&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;instance.cpp&lt;/a&gt; currently NULL is passed as the platform string. Brainstorm other useful information, but consider adding:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;The compiler name and version&lt;/li&gt;
	&lt;li&gt;The C++ standard&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1780713">CXX-2284</key>
            <summary>Append platform data to handshake</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13201">Fixed</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Jun 2021 17:44:50 +0000</created>
                <updated>Sat, 28 Oct 2023 11:26:53 +0000</updated>
                            <resolved>Tue, 3 Jan 2023 20:59:01 +0000</resolved>
                                                    <fixVersion>3.8.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5088281" author="xgen-internal-githook" created="Tue, 3 Jan 2023 20:58:52 +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/CXX-2284&quot; title=&quot;Append platform data to handshake&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2284&quot;&gt;&lt;del&gt;CXX-2284&lt;/del&gt;&lt;/a&gt; Append platform data to handshake (#915)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2284&quot; title=&quot;Append platform data to handshake&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2284&quot;&gt;&lt;del&gt;CXX-2284&lt;/del&gt;&lt;/a&gt; add compiler ID and version to platform&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;note surprising behavior of mongoc_handshake_data_append&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;add C++ standard to metadata&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;prefer _MSVC_LANG on MSVC&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/2c1c5489fa34233c84ebca479db6b127c0fc8424&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/2c1c5489fa34233c84ebca479db6b127c0fc8424&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="3876606" author="behackett" created="Mon, 14 Jun 2021 17:50:14 +0000"  >&lt;p&gt;Note that there is a limit to the number of bytes that can appear in the platform string. You&apos;ll have to carefully consider what to put in the string for C++ and possibly remove any less valuable information currently passed by the C driver. You could also consider having the C driver prepend platform data from wrapping drivers, rather than adding it after the C driver data.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="372591">CXX-1306</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1853521">CXX-2350</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                        <issuelink>
            <issuekey id="2441507">CXX-2754</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY23Q4</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6ic6:ex</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>