<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:07:47 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>[DOCS-13433] Investigate changes in SERVER-45623: RWC provenance</title>
                <link>https://jira.mongodb.org/browse/DOCS-13433</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;h2&gt;&lt;a name=&quot;Description&quot;&gt;&lt;/a&gt;Description&lt;/h2&gt;

    &lt;div class=&quot;panel&quot; style=&quot;background-color: #c2d2c2;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;background-color: #239eb0;&quot;&gt;&lt;b&gt;Downstream Change Summary&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #c2d2c2;&quot;&gt;
&lt;ul&gt;
	&lt;li&gt;Introduces new optional &quot;&lt;tt&gt;provenance&lt;/tt&gt;&quot; field for &lt;tt&gt;readConcern&lt;/tt&gt; and &lt;tt&gt;writeConcern&lt;/tt&gt; objects.
	&lt;ul&gt;
		&lt;li&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 &lt;tt&gt;&quot;clientSupplied&quot;&lt;/tt&gt;.  This is mostly for clients using &lt;tt&gt;runCommand&lt;/tt&gt; 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;/li&gt;
		&lt;li&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;ul&gt;
			&lt;li&gt;&lt;tt&gt;&quot;clientSupplied&quot;&lt;/tt&gt; : in the application/driver.&lt;/li&gt;
			&lt;li&gt;&lt;tt&gt;&quot;customDefault&quot;&lt;/tt&gt; : in the server from a custom defined default read/write concern (set with the &lt;tt&gt;setDefaultRWConcern&lt;/tt&gt; command).&lt;/li&gt;
			&lt;li&gt;&lt;tt&gt;&quot;getLastErrorDefaults&quot;&lt;/tt&gt; (only for write concern) : in the server from the (now deprecated) &lt;tt&gt;settings.getLastErrorDefaults&lt;/tt&gt; field in a replica set configuration.&lt;/li&gt;
			&lt;li&gt;&lt;tt&gt;&quot;implicitDefault&quot;&lt;/tt&gt; : the read/write concern is that used by the server in the absence of all the above alternative sources.&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;tt&gt;WriteConcernErrors&lt;/tt&gt; now include the causal writeConcern as the new &quot;&lt;tt&gt;errInfo.writeConcern&lt;/tt&gt;&quot; field.
	&lt;ul&gt;
		&lt;li&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;/li&gt;
		&lt;li&gt;The &quot;&lt;tt&gt;errInfo.writeConcern&lt;/tt&gt;&quot; includes the above &quot;&lt;tt&gt;provenance&lt;/tt&gt;&quot; field, to additionally help determine why the write concern was applied to the operation.&lt;/li&gt;
		&lt;li&gt;It is believed that drivers should not currently be attempting to parse &quot;&lt;tt&gt;errInfo&lt;/tt&gt;&quot;, but it would be good to add the necessary test coverage and/or spec definitions.&lt;/li&gt;
		&lt;li&gt;Drivers should ensure that the contents of the &quot;&lt;tt&gt;errInfo&lt;/tt&gt;&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;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;New &lt;tt&gt;serverStatus&lt;/tt&gt; metrics (including in FTDC):
	&lt;ul&gt;
		&lt;li&gt;&quot;&lt;tt&gt;getLastError.default.wtimeouts&lt;/tt&gt;&quot; : Number of times a non-&quot;clientSupplied&quot; write concern timed out (ie. wtimeouts caused by an &quot;implicitDefault&quot;, &quot;customDefault&quot;, or &quot;getLastErrorDefaults&quot; write concern).  Note that the existing &quot;&lt;tt&gt;getLastError.wtimeouts&lt;/tt&gt;&quot; metric is also still incremented in this case.&lt;/li&gt;
		&lt;li&gt;&quot;&lt;tt&gt;getLastError.default.unsatisfiable&lt;/tt&gt;&quot; : Number of times that a non-&quot;clientSupplied&quot; write concern was unsatisfiable (ie. returned the &lt;tt&gt;UnsatisfiableWriteConcern&lt;/tt&gt; error code).&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;h2&gt;&lt;a name=&quot;DescriptionofLinkedTicket&quot;&gt;&lt;/a&gt;Description of Linked Ticket&lt;/h2&gt;
&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;


&lt;h2&gt;&lt;a name=&quot;Scopeofchanges&quot;&gt;&lt;/a&gt;Scope of changes&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;ImpacttoOtherDocs&quot;&gt;&lt;/a&gt;Impact to Other Docs&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;MVP%28WorkandDate%29&quot;&gt;&lt;/a&gt;MVP (Work and Date)&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;Resources%28ScopeorDesignDocs%2CInvision%2Cetc.%29&quot;&gt;&lt;/a&gt;Resources (Scope or Design Docs, Invision, etc.)&lt;/h2&gt;
</description>
                <environment></environment>
        <key id="1164641">DOCS-13433</key>
            <summary>Investigate changes in SERVER-45623: RWC provenance</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="jeffrey.allen@mongodb.com">Jeffrey Allen</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                            <label>docs-query</label>
                    </labels>
                <created>Thu, 20 Feb 2020 05:53:59 +0000</created>
                <updated>Mon, 13 Nov 2023 18:09:52 +0000</updated>
                            <resolved>Fri, 29 May 2020 19:55:28 +0000</resolved>
                                                    <fixVersion>4.3.4</fixVersion>
                    <fixVersion>Server_Docs_20231030</fixVersion>
                    <fixVersion>Server_Docs_20231106</fixVersion>
                    <fixVersion>Server_Docs_20231105</fixVersion>
                    <fixVersion>Server_Docs_20231113</fixVersion>
                                    <component>manual</component>
                        <due>Fri, 10 Apr 2020 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3147114" author="xgen-internal-githook" created="Fri, 29 May 2020 21:19:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kay Kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;, &apos;username&apos;: &apos;kay-kim&apos;}
&lt;p&gt;Message:  &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13433&quot; title=&quot;Investigate changes in SERVER-45623: RWC provenance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13433&quot;&gt;&lt;del&gt;DOCS-13433&lt;/del&gt;&lt;/a&gt;: RWC Provenance&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/6568c89ae1307f638f6153b44aa9c5e8277b6417&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/6568c89ae1307f638f6153b44aa9c5e8277b6417&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="1101325">SERVER-45623</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 29 May 2020 21:19:41 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 36 weeks, 5 days 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCS-12787</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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 36 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-pm</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jeffrey.allen@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hws5pb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hwg3lb:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3893">ServerDocs: April06 - April10</customfieldvalue>
    <customfieldvalue id="3915">ServerDocs: April20-April24</customfieldvalue>
    <customfieldvalue id="3923">ServerDocs: April27-May01</customfieldvalue>
    <customfieldvalue id="3936">ServerDocs: May04-May08</customfieldvalue>
    <customfieldvalue id="3989">ServerDocs: May11-May15</customfieldvalue>
    <customfieldvalue id="4000">ServerDocs: May18-May22</customfieldvalue>
    <customfieldvalue id="4026">ServerDocs: May26-May29</customfieldvalue>
    <customfieldvalue id="4029">ServerDocs2020: Jun 1 -Jun5</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hwrryn:</customfieldvalue>

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