<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:09:18 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-45623] RWC provenance</title>
                <link>https://jira.mongodb.org/browse/SERVER-45623</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Add and propagate provenance info to readConcern and writeConcern, to help with tracing where a given RWC has come from.  This is especially useful when default RWC causes operations to fail (perhaps because the default RWC may be unsatisfiable).&lt;/p&gt;</description>
                <environment></environment>
        <key id="1101325">SERVER-45623</key>
            <summary>RWC provenance</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="13201">Fixed</resolution>
                                        <assignee username="kevin.pulo@mongodb.com">Kevin Pulo</assignee>
                                    <reporter username="kevin.pulo@mongodb.com">Kevin Pulo</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Jan 2020 02:56:21 +0000</created>
                <updated>Sun, 29 Oct 2023 22:13:10 +0000</updated>
                            <resolved>Thu, 20 Feb 2020 05:53:58 +0000</resolved>
                                                    <fixVersion>4.3.4</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2886039" author="xgen-internal-githook" created="Thu, 20 Feb 2020 04:50:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;devkev&apos;, &apos;name&apos;: &apos;Kevin Pulo&apos;, &apos;email&apos;: &apos;kevin.pulo@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45623&quot; title=&quot;RWC provenance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45623&quot;&gt;&lt;del&gt;SERVER-45623&lt;/del&gt;&lt;/a&gt; improve diagnosability of default writeConcern&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Include the writeConcern in writeConcernErrors&lt;/li&gt;
	&lt;li&gt;Add serverStatus counters for default writeConcern timeouts and unsatisfiability&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7eb6f03dd34615f2774a2cb70dadeffadce4512e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7eb6f03dd34615f2774a2cb70dadeffadce4512e&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="2880216" author="xgen-internal-githook" created="Sun, 16 Feb 2020 04:51:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Pulo&apos;, &apos;username&apos;: &apos;devkev&apos;, &apos;email&apos;: &apos;kevin.pulo@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45623&quot; title=&quot;RWC provenance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45623&quot;&gt;&lt;del&gt;SERVER-45623&lt;/del&gt;&lt;/a&gt; read/write concern provenance&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/95c8fc6a4a98f70b07f32565e3ef3e48172efa1e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/95c8fc6a4a98f70b07f32565e3ef3e48172efa1e&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="1164641">DOCS-13433</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1108349">SERVER-45694</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1123423">SERVER-45897</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 16 Feb 2020 04:51:43 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 51 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>* Introduces new optional &amp;quot;{{provenance}}&amp;quot; field for {{readConcern}} and {{writeConcern}} objects.&lt;br/&gt;
** Clients do not have to set this field, and we recommend that they avoid doing so.  If they do include the field, it can only be with the value {{&amp;quot;clientSupplied&amp;quot;}}.  This is mostly for clients using {{runCommand}} directly; drivers do not support this field natively in their read/write concern support (and will not, since for clients there is only one valid value and its absence (the current behaviour) has the same meaning).&lt;br/&gt;
** The provenance value provides diagnostic information about where the read or write concern originated.  Users may observe this field in logs, profiling, and other places where read/write concern objects are recorded.  Possible values for this origin are:&lt;br/&gt;
*** {{&amp;quot;clientSupplied&amp;quot;}} : in the application/driver.&lt;br/&gt;
*** {{&amp;quot;customDefault&amp;quot;}} : in the server from a custom defined default read/write concern (set with the {{setDefaultRWConcern}} command).&lt;br/&gt;
*** {{&amp;quot;getLastErrorDefaults&amp;quot;}} (only for write concern) : in the server from the (now deprecated) {{settings.getLastErrorDefaults}} field in a replica set configuration.&lt;br/&gt;
*** {{&amp;quot;implicitDefault&amp;quot;}} : the read/write concern is that used by the server in the absence of all the above alternative sources.&lt;br/&gt;
&lt;br/&gt;
* {{WriteConcernErrors}} now include the causal writeConcern as the new &amp;quot;{{errInfo.writeConcern}}&amp;quot; field.&lt;br/&gt;
** This is necessary because, in the presence of a custom default write concern (or getLastErrorDefaults), it is possible to receive a WriteConcernError on an operation that did not supply an explicit writeConcern.&lt;br/&gt;
** The &amp;quot;{{errInfo.writeConcern}}&amp;quot; includes the above &amp;quot;{{provenance}}&amp;quot; field, to additionally help determine why the write concern was applied to the operation.&lt;br/&gt;
** It is believed that drivers should not currently be attempting to parse &amp;quot;{{errInfo}}&amp;quot;, but it would be good to add the necessary test coverage and/or spec definitions.&lt;br/&gt;
** Drivers should ensure that the contents of the &amp;quot;{{errInfo}}&amp;quot; object are propagated up to the application-visible error/exception, so that developers/admins can be aware of situations such as custom write concern defaults causing wtimeouts, etc.&lt;br/&gt;
&lt;br/&gt;
* New {{serverStatus}} metrics (including in FTDC):&lt;br/&gt;
** &amp;quot;{{getLastError.default.wtimeouts}}&amp;quot; : Number of times a non-&amp;quot;clientSupplied&amp;quot; write concern timed out (ie. wtimeouts caused by an &amp;quot;implicitDefault&amp;quot;, &amp;quot;customDefault&amp;quot;, or &amp;quot;getLastErrorDefaults&amp;quot; write concern).  Note that the existing &amp;quot;{{getLastError.wtimeouts}}&amp;quot; metric is also still incremented in this case.&lt;br/&gt;
** &amp;quot;{{getLastError.default.unsatisfiable}}&amp;quot; : Number of times that a non-&amp;quot;clientSupplied&amp;quot; write concern was unsatisfiable (ie. returned the {{UnsatisfiableWriteConcern}} error code).</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16942"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-900</customfieldvalue>
                        </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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 51 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kevin.pulo@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hwixyf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hw6zjr:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3570">Sharding 2020-01-27</customfieldvalue>
    <customfieldvalue id="3571">Sharding 2020-02-10</customfieldvalue>
    <customfieldvalue id="3572">Sharding 2020-02-24</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_17051" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Teams Impacted</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16944"><![CDATA[Docs]]></customfieldvalue>
    <customfieldvalue key="16945"><![CDATA[Drivers]]></customfieldvalue>
    <customfieldvalue key="16946"><![CDATA[Triage and Release]]></customfieldvalue>
    
                        </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|hwik7r:</customfieldvalue>

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