<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:29:51 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-12861] Introduce a maxStalenessMS option when querying secondaries</title>
                <link>https://jira.mongodb.org/browse/SERVER-12861</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;As most app, a lot of my queries (much more than I currently do) could be executed on secondaries if I knew they aren&apos;t more than X seconds behind the primary member of their replica set.&lt;br/&gt;
That why it would be really convenient to have a maxSlaveDelay settings or equivalent (the same way that we have a &quot;readPref&quot; setting for example) that would only select secondaries that have less than X seconds lag.&lt;/p&gt;

&lt;p&gt;I believe this value needs to be cached somewhere to be blazing fast to retrieve. This value couldn&apos;t be updated in real time, but updated every 30 seconds or so would be more than enough in most cases.&lt;/p&gt;

&lt;p&gt;I&apos;m not sure about the details of the implementation, but you get the whole idea.&lt;/p&gt;</description>
                <environment></environment>
        <key id="113994">SERVER-12861</key>
            <summary>Introduce a maxStalenessMS option when querying secondaries</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="tubededentifrice">Vincent</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Feb 2014 16:00:13 +0000</created>
                <updated>Sat, 23 Jul 2016 12:56:20 +0000</updated>
                            <resolved>Tue, 19 Jul 2016 16:00:10 +0000</resolved>
                                    <version>2.6.0-rc0</version>
                                                    <component>Replication</component>
                                        <votes>3</votes>
                                    <watches>12</watches>
                                                                                                                <comments>
                            <comment id="1333410" author="ramon.fernandez" created="Sat, 23 Jul 2016 12:56:20 +0000"  >&lt;p&gt;I have marked this ticket as a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4936&quot; title=&quot;Server support for &amp;quot;maxStalenessMS&amp;quot; read preference option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4936&quot;&gt;&lt;del&gt;SERVER-4936&lt;/del&gt;&lt;/a&gt;, since &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3346&quot; title=&quot;MAX SLAVE LAG - Features to provide a more stable Replication Set under high load&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3346&quot;&gt;&lt;del&gt;SERVER-3346&lt;/del&gt;&lt;/a&gt; and this ticket were marked as a duplicate of each other.&lt;/p&gt;

&lt;p&gt;Users interested in this feature can tune to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4936&quot; title=&quot;Server support for &amp;quot;maxStalenessMS&amp;quot; read preference option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4936&quot;&gt;&lt;del&gt;SERVER-4936&lt;/del&gt;&lt;/a&gt; for updates.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="1333382" author="paul.ridgway" created="Sat, 23 Jul 2016 09:18:39 +0000"  >&lt;p&gt;Great - thanks&lt;/p&gt;</comment>
                            <comment id="1333256" author="jesse" created="Fri, 22 Jul 2016 22:35:43 +0000"  >&lt;p&gt;The related tickets are &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8858&quot; title=&quot;Extend `isMaster` to return opTime and writeDate&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8858&quot;&gt;&lt;del&gt;SERVER-8858&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24421&quot; title=&quot;maxStalenessMS support in mongos&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24421&quot;&gt;&lt;del&gt;SERVER-24421&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24675&quot; title=&quot;Add maxStalenessMS to ReadPreferenceSetting &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24675&quot;&gt;&lt;del&gt;SERVER-24675&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24676&quot; title=&quot;Implement support for  maxStalenessMS in the ReplicaSetMonitor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24676&quot;&gt;&lt;del&gt;SERVER-24676&lt;/del&gt;&lt;/a&gt;. Sorry for the mess!&lt;/p&gt;</comment>
                            <comment id="1333234" author="paul.ridgway" created="Fri, 22 Jul 2016 22:13:25 +0000"  >&lt;p&gt;I&apos;m just looking for something to track - the driver ticket is great for half of the puzzle but I&apos;m struggling to see the corresponding Server ticket to know which release it is likely to hit etc?&lt;/p&gt;</comment>
                            <comment id="1333216" author="jesse" created="Fri, 22 Jul 2016 21:55:56 +0000"  >&lt;p&gt;It will be supported, and is mostly implemented in the server, however confusingly we handled the tickets related to it. Is there a specific question I can help you with that Jira isn&apos;t answering?&lt;/p&gt;</comment>
                            <comment id="1333147" author="paul.ridgway" created="Fri, 22 Jul 2016 20:59:28 +0000"  >&lt;p&gt;Thanks for coming back to me, however the related server tickets are closed as wont fix or dupe so it suggests its not being supported....&lt;/p&gt;</comment>
                            <comment id="1333087" author="jesse" created="Fri, 22 Jul 2016 20:17:32 +0000"  >&lt;p&gt;To track driver implementation of the feature, see &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-293&quot; title=&quot;Allow users to set a limit on acceptable staleness&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-293&quot;&gt;&lt;del&gt;DRIVERS-293&lt;/del&gt;&lt;/a&gt;. For server tasks related to this, follow the SERVER tickets listed as &quot;related to&quot; this one.&lt;/p&gt;</comment>
                            <comment id="1333054" author="paul.ridgway" created="Fri, 22 Jul 2016 19:49:35 +0000"  >&lt;p&gt;Ah I see - is there an associated ticket to track?&lt;/p&gt;</comment>
                            <comment id="1332996" author="jesse" created="Fri, 22 Jul 2016 19:01:14 +0000"  >&lt;p&gt;We&apos;ve published a spec for driver and server behavior that will support this new read preference with MongoDB 3.4:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/commit/69630e72e30f774dbc2aef5e796effda94be2fb2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/69630e72e30f774dbc2aef5e796effda94be2fb2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1332991" author="paul.ridgway" created="Fri, 22 Jul 2016 18:53:40 +0000"  >&lt;p&gt;Looks like the declared duplicate (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3346&quot; title=&quot;MAX SLAVE LAG - Features to provide a more stable Replication Set under high load&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3346&quot;&gt;&lt;del&gt;SERVER-3346&lt;/del&gt;&lt;/a&gt;) and this ticket have been closed a Dupes. 3346 references another ticket around the replication implications but its not the same as the max staleness concept...&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="30426">SERVER-4936</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="18810">SERVER-3346</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="30423">SERVER-4935</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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 22 Jul 2016 18:53:40 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 29 weeks, 4 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>PM-250</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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 29 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jesse@mongodb.com</customfieldvalue>
            <customfieldvalue>paul.ridgway</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>tubededentifrice</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm0uf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrfpjz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5190</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|hsh5gn:</customfieldvalue>

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