<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:20:55 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-49815] mongos attach user client metadata to non-user request</title>
                <link>https://jira.mongodb.org/browse/SERVER-49815</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;An example from a customer log file shows that their client metadata is in a log line from &lt;tt&gt;moveChunk&lt;/tt&gt; which was initiated by the system.&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2020-07-22T15:52:34.075+0000 I COMMAND  [conn2903218] command admin.$cmd command: moveChunk { moveChunk: &quot;db.coll&quot;, shardVersion: [ Timestamp(1, 24), ObjectId(&apos;5f185d9f3354ab24e366e50f&apos;) ], epoch: ObjectId(&apos;5f185d9f3354ab24e366e50f&apos;), configdb: &quot;atlas-config-0/atlas-config-00...&quot;, fromShard: &quot;atlas-shard-4&quot;, toShard: &quot;atlas-shard-1&quot;, min: { id: -8485502273906393736 }, max: { id: -7747632510958011672 }, maxChunkSizeBytes: 67108864, secondaryThrottle: false, waitForDelete: true, takeDistLock: false, lsid: { id: UUID(&quot;6617fbc7-a91f-431a-a977-2f2ceab9a567&quot;), uid: BinData(0, ...) }, $clusterTime: { clusterTime: Timestamp(1595432503, 611), signature: { hash: BinData(0, ...), keyId: ... } }, $client: { driver: { name: &quot;nodejs&quot;, version: &quot;3.5.6&quot; }, os: { type: &quot;Linux&quot;, name: &quot;linux&quot;, architecture: &quot;x64&quot;, version: &quot;4.15.0-1060-gcp&quot; }, platform: &quot;&apos;Node.js v10.19.0, LE (unified)&quot;, mongos: { host: &quot;atlas-shard-12-....mongodb.net:27016&quot;, client: &quot;10.xxx&quot;, version: &quot;3.6.18&quot; } }, $configServerState: { opTime: { ts: Timestamp(1595432503, 611), t: 16 } }, $db: &quot;admin&quot; } numYields:0 reslen:301 locks:{ Global: { acquireCount: { r: 15486, w: 16 } }, Database: { acquireCount: { r: 7735, w: 14, W: 2 } }, Collection: { acquireCount: { r: 1366, w: 2, W: 5 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 69476755 } }, oplog: { acquireCount: { r: 6369, w: 7 } } } protocol:op_msg 650850ms&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</description>
                <environment></environment>
        <key id="1417463">SERVER-49815</key>
            <summary>mongos attach user client metadata to non-user request</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="3">Duplicate</resolution>
                                        <assignee username="ben.caimano@mongodb.com">Benjamin Caimano</assignee>
                                    <reporter username="asya.kamsky@mongodb.com">Asya Kamsky</reporter>
                        <labels>
                            <label>sa-groomed</label>
                    </labels>
                <created>Wed, 22 Jul 2020 20:28:06 +0000</created>
                <updated>Tue, 20 Oct 2020 17:57:25 +0000</updated>
                            <resolved>Tue, 20 Oct 2020 17:57:25 +0000</resolved>
                                    <version>3.6.18</version>
                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3454805" author="ben.caimano" created="Tue, 20 Oct 2020 17:57:25 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=asya&quot; class=&quot;user-hover&quot; rel=&quot;asya&quot;&gt;asya&lt;/a&gt;, I think we&apos;ve fixed this as part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49336&quot; title=&quot;Set client metadata if it is missing during failCommand&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49336&quot;&gt;&lt;del&gt;SERVER-49336&lt;/del&gt;&lt;/a&gt;. Previously, we used forwarded metadata to overwrite the client metadata. If that specific client was then used for a non-external op, it  would show the external metadata. Now, we maintain two separate objects, one of which lasts for client lifetime and one which lasts for operation lifetime.&lt;/p&gt;</comment>
                            <comment id="3310302" author="asya" created="Tue, 28 Jul 2020 17:14:33 +0000"  >&lt;p&gt;note that it&apos;s possible that &lt;tt&gt;moveChunk&lt;/tt&gt; may have been initiated as a result of the &lt;b&gt;user&lt;/b&gt; running a &lt;tt&gt;sh.shardCollection()&lt;/tt&gt; command - if that&apos;s the only scenario in which this happens, it&apos;s possible that it&apos;s not outright &quot;wrong&quot; (though still highly misleading)...&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1402983">SERVER-49336</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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 20 Oct 2020 17:57:25 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 16 weeks, 1 day 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_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>ben.caimano@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 16 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>ben.caimano@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxw6jr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr562n:</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_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|hxvst3:</customfieldvalue>

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