<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:37:13 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-34598] Add millisecond-granularity wallclock times for the various metrics in replSetGetStatus&apos;s optimes subdocument</title>
                <link>https://jira.mongodb.org/browse/SERVER-34598</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The response to &lt;tt&gt;replSetGetStatus&lt;/tt&gt; includes a subdocument named &lt;tt&gt;optimes&lt;/tt&gt;, which contains the OpTime for various important oplog events, including &lt;tt&gt;lastCommittedOpTime&lt;/tt&gt;, &lt;tt&gt;readConcernMajorityOpTime&lt;/tt&gt;, &lt;tt&gt;appliedOpTime&lt;/tt&gt; and &lt;tt&gt;durableOpTime&lt;/tt&gt;. As of MongoDB 3.6, the actual oplog entries corresponding to these OpTimes have a wall clock time with milliseconds resolution recorded in them. We should extend &lt;tt&gt;replSetGetStatus&lt;/tt&gt; to report the wall clock times corresponding to these optimes, so that we can (usually) get millisecond-granularity measurements of replication lag and back-to-back majority read-modify-write latencies.&lt;/p&gt;

&lt;p&gt;The work for this ticket is split into &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40080&quot; title=&quot;Add lastApplied and lastDurable wall clock times to replSetGetStatus optimes subdocument&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40080&quot;&gt;&lt;del&gt;SERVER-40080&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40078&quot; title=&quot;Add wall clock time corresponding to lastCommitted optime to optimes subdocument&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40078&quot;&gt;&lt;del&gt;SERVER-40078&lt;/del&gt;&lt;/a&gt;, and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40353&quot; title=&quot;Add wall clock time corresponding to readConcernMajority OpTime to optimes subdocument&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40353&quot;&gt;&lt;del&gt;SERVER-40353&lt;/del&gt;&lt;/a&gt;. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34598&quot; title=&quot;Add millisecond-granularity wallclock times for the various metrics in replSetGetStatus&amp;#39;s optimes subdocument&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34598&quot;&gt;&lt;del&gt;SERVER-34598&lt;/del&gt;&lt;/a&gt; is an umbrella ticket with no work items.&lt;/p&gt;</description>
                <environment></environment>
        <key id="531844">SERVER-34598</key>
            <summary>Add millisecond-granularity wallclock times for the various metrics in replSetGetStatus&apos;s optimes subdocument</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="9">Done</resolution>
                                        <assignee username="maria.vankeulen@mongodb.com">Maria van Keulen</assignee>
                                    <reporter username="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 20 Apr 2018 19:46:13 +0000</created>
                <updated>Mon, 20 Jul 2020 14:40:25 +0000</updated>
                            <resolved>Tue, 30 Apr 2019 20:28:15 +0000</resolved>
                                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>15</watches>
                                                                                                                <comments>
                            <comment id="2229877" author="maria.vankeulen" created="Tue, 30 Apr 2019 20:28:15 +0000"  >&lt;p&gt;Closing this umbrella ticket, as all of its constituent tickets have been resolved.&lt;/p&gt;</comment>
                            <comment id="2184517" author="maria.vankeulen" created="Tue, 19 Mar 2019 00:46:20 +0000"  >&lt;p&gt;This ticket is being actively worked on. However, since it is an umbrella ticket and not a real work ticket, I am moving this to the Backlog so it can be closed when &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40080&quot; title=&quot;Add lastApplied and lastDurable wall clock times to replSetGetStatus optimes subdocument&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40080&quot;&gt;&lt;del&gt;SERVER-40080&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40078&quot; title=&quot;Add wall clock time corresponding to lastCommitted optime to optimes subdocument&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40078&quot;&gt;&lt;del&gt;SERVER-40078&lt;/del&gt;&lt;/a&gt; are complete.&lt;/p&gt;</comment>
                            <comment id="2177692" author="maria.vankeulen" created="Mon, 11 Mar 2019 20:58:48 +0000"  >&lt;p&gt;Since this ticket is a feature-requesting ticket, I will use it as an umbrella ticket for the work tickets &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40080&quot; title=&quot;Add lastApplied and lastDurable wall clock times to replSetGetStatus optimes subdocument&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40080&quot;&gt;&lt;del&gt;SERVER-40080&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40078&quot; title=&quot;Add wall clock time corresponding to lastCommitted optime to optimes subdocument&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40078&quot;&gt;&lt;del&gt;SERVER-40078&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2177557" author="maria.vankeulen" created="Mon, 11 Mar 2019 19:24:20 +0000"  >&lt;p&gt;This ticket will now just track the work for adding the wall clock times corresponding to the lastApplied and lastDurable optimes to replSetGetStatus, given the complexity of these changes thus far. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40078&quot; title=&quot;Add wall clock time corresponding to lastCommitted optime to optimes subdocument&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40078&quot;&gt;&lt;del&gt;SERVER-40078&lt;/del&gt;&lt;/a&gt; will handle the remaining two optimes.&lt;/p&gt;</comment>
                            <comment id="2130469" author="schwerin" created="Tue, 29 Jan 2019 14:12:50 +0000"  >&lt;p&gt;Yes. I need it for planning.&lt;/p&gt;
</comment>
                            <comment id="2130437" author="milkie" created="Tue, 29 Jan 2019 13:34:35 +0000"  >&lt;p&gt;It is still scheduled for 4.2 for us to complete, but we may not end up needed it for this project.&#160; Is there dependent work from DS that requires it?&lt;/p&gt;</comment>
                            <comment id="2130097" author="schwerin" created="Tue, 29 Jan 2019 00:36:53 +0000"  >&lt;p&gt;Is this still happening in 4.2?&lt;/p&gt;

&lt;p&gt;---------- Forwarded message ---------&lt;br/&gt;
From: Sara Williamson (Jira) &amp;lt;jira@mongodb.org&amp;gt;&lt;br/&gt;
Date: Mon, Jan 28, 2019, 4:10 PM&lt;br/&gt;
Subject: &lt;span class=&quot;error&quot;&gt;&amp;#91;MongoDB-JIRA&amp;#93;&lt;/span&gt; (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34598&quot; title=&quot;Add millisecond-granularity wallclock times for the various metrics in replSetGetStatus&amp;#39;s optimes subdocument&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34598&quot;&gt;&lt;del&gt;SERVER-34598&lt;/del&gt;&lt;/a&gt;) Add millisecond-granularity&lt;br/&gt;
wallclock times for the various metrics in replSetGetStatus&apos;s optimes&lt;br/&gt;
subdocument&lt;br/&gt;
To: &amp;lt;schwerin@mongodb.com&amp;gt;&lt;/p&gt;



&lt;p&gt;     [&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-34598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&lt;br/&gt;
]&lt;/p&gt;

&lt;p&gt;Sara Williamson updated &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34598&quot; title=&quot;Add millisecond-granularity wallclock times for the various metrics in replSetGetStatus&amp;#39;s optimes subdocument&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34598&quot;&gt;&lt;del&gt;SERVER-34598&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
-------------------------------------&lt;br/&gt;
    Story Points: 5&lt;/p&gt;

&lt;p&gt;replSetGetStatus&apos;s optimes subdocument&lt;br/&gt;
-------------------------------------------------------------------------------------------------------------&lt;br/&gt;
&lt;tt&gt;optimes&lt;/tt&gt;, which contains the OpTime for various important oplog events,&lt;br/&gt;
including &lt;tt&gt;lastAppliedOpTime&lt;/tt&gt;, &lt;tt&gt;readConcernMajorityOpTime&lt;/tt&gt;,&lt;br/&gt;
&lt;tt&gt;appliedOpTime&lt;/tt&gt; and &lt;tt&gt;durableOpTime&lt;/tt&gt;. As of MongoDB 3.6, the actual&lt;br/&gt;
oplog entries corresponding to these OpTimes have a wall clock time with&lt;br/&gt;
milliseconds resolution recorded in them. We should extend&lt;br/&gt;
&lt;tt&gt;replSetGetStatus&lt;/tt&gt; to report the wall clock times corresponding to these&lt;br/&gt;
optimes, so that we can (usually) get millisecond-granularity measurements&lt;br/&gt;
of replication lag and back-to-back majority read-modify-write latencies.&lt;/p&gt;

&lt;p&gt;----------------------&lt;br/&gt;
This message was sent from MongoDB&apos;s issue tracking system. To respond to&lt;br/&gt;
this ticket, please login to &lt;a href=&quot;https://jira.mongodb.org&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org&lt;/a&gt; using your JIRA or&lt;br/&gt;
MMS credentials.&lt;/p&gt;</comment>
                            <comment id="2079084" author="maria.vankeulen" created="Mon, 3 Dec 2018 20:41:55 +0000"  >&lt;p&gt;The work for this ticket should include correctness testing to ensure the wall clock times are the values they are expected to be.&lt;/p&gt;</comment>
                            <comment id="1871543" author="schwerin" created="Mon, 23 Apr 2018 16:38:02 +0000"  >&lt;p&gt;Don&apos;t need it for other nodes.&lt;/p&gt;</comment>
                            <comment id="1870565" author="spencer" created="Fri, 20 Apr 2018 20:44:14 +0000"  >&lt;p&gt;To have this information for other nodes would require transmitting it via heartbeats and/or the replication spanning tree.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="714882">SERVER-40078</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="714944">SERVER-40080</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="723672">SERVER-40353</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="687534">SERVER-39494</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="751237">DOCS-12667</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="739994">SERVER-40683</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1414730">SERVER-49732</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>10.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_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    <customfieldvalue key="15141"><![CDATA[v3.6]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 20 Apr 2018 20:44:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 41 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-40078'>SERVER-40078</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-40080'>SERVER-40080</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-40353'>SERVER-40353</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-763</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>william.schultz@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 41 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>maria.vankeulen@mongodb.com</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htw1w7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr7fyn:</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="2543">Repl 2018-11-05</customfieldvalue>
    <customfieldvalue id="2762">Storage NYC 2019-02-25</customfieldvalue>
    <customfieldvalue id="2763">Storage NYC 2019-03-11</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</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|htvo4f:</customfieldvalue>

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