<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:48:44 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-82268] Make sure we preserve relevant metrics for writes done via bulkWrite (timeseries)</title>
                <link>https://jira.mongodb.org/browse/SERVER-82268</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I started looking at this in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79610&quot; title=&quot;Make sure we preserve relevant metrics for writes done via bulkWrite (mongd)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-79610&quot;&gt;&lt;del&gt;SERVER-79610&lt;/del&gt;&lt;/a&gt; but it will need a deeper look.&lt;/p&gt;

&lt;p&gt;There are some things I found surprising with timeseries even without bulkWrite:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Timeseries with 1 retry seems to increment the arrayFilter metrics twice but that might be a test issue&lt;/li&gt;
	&lt;li&gt;document.updated is not increased on a timeseries update, neither is metrics.queryExecutor.scanned (on update or delete).&lt;/li&gt;
	&lt;li&gt;timeseries with retry do not increase writeConcern.update.majority, but writeConcern.update.none&lt;/li&gt;
	&lt;li&gt;timeseries insert does not increase writeConcern.insert.majority&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;On top of those bulkWrite + timeseries has its own issues:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Timeseries with retry and bulkWrite does not increment the arrayFilter metrics twice but that might be a test issue (unlike timeseries with retry and no bulkWrite)&lt;/li&gt;
	&lt;li&gt;document.updated with timeseries behaves differently between no bulkWrite (and bulkWrite with retry) and bulkWrite with no retry.&lt;/li&gt;
	&lt;li&gt;Timeseries with bulkWrite and retries does not increase retriedCommandsCount or retriedStatementsCount, a quick look seems it does not see a retried stmtId at all so need more investigation.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;For now I stashed the changes to the test that allowed me to uncover those. I will go back to this after I finish the &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79610&quot; title=&quot;Make sure we preserve relevant metrics for writes done via bulkWrite (mongd)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-79610&quot;&gt;&lt;del&gt;SERVER-79610&lt;/del&gt;&lt;/a&gt; PRs.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2476792">SERVER-82268</key>
            <summary>Make sure we preserve relevant metrics for writes done via bulkWrite (timeseries)</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="frederic.vitzikam@mongodb.com">Frederic Vitzikam</assignee>
                                    <reporter username="frederic.vitzikam@mongodb.com">Frederic Vitzikam</reporter>
                        <labels>
                            <label>milestone-1</label>
                    </labels>
                <created>Tue, 17 Oct 2023 18:59:41 +0000</created>
                <updated>Wed, 17 Jan 2024 18:02:49 +0000</updated>
                            <resolved>Wed, 17 Jan 2024 18:02:48 +0000</resolved>
                                                    <fixVersion>7.3.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="6016011" author="xgen-internal-githook" created="Wed, 17 Jan 2024 00:53:27 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Frederic Vitzikam&apos;, &apos;email&apos;: &apos;frederic.vitzikam@mongodb.com&apos;, &apos;username&apos;: &apos;fredvitz&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-82268&quot; title=&quot;Make sure we preserve relevant metrics for writes done via bulkWrite (timeseries)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-82268&quot;&gt;&lt;del&gt;SERVER-82268&lt;/del&gt;&lt;/a&gt; Make sure we preserve relevant metrics for writes done via bulkWrite (timeseries)&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 20d3596f3002ebd308375c200f89a3b136fab7c0&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cb7c1bed8bc67dc9493487126e05209483df1328&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cb7c1bed8bc67dc9493487126e05209483df1328&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="2407174">SERVER-79610</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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 22 Dec 2023 00:19:05 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-79610'>SERVER-79610</a></s>]]></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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

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

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2ectw:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7878">Repl 2023-11-13</customfieldvalue>
    <customfieldvalue id="7879">Repl 2023-11-27</customfieldvalue>
    <customfieldvalue id="7967">Repl 2023-12-11</customfieldvalue>
    <customfieldvalue id="7968">Repl 2023-12-25</customfieldvalue>
    <customfieldvalue id="7969">Repl 2024-01-08</customfieldvalue>
    <customfieldvalue id="7970">Repl 2024-01-22</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|i2w35j:</customfieldvalue>

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