<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:51:59 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>[JAVA-309] when choosing slave to read from, should take into account slaveDelay and possibly oplog status</title>
                <link>https://jira.mongodb.org/browse/JAVA-309</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;If a server has a slavedelay, it should probably not be used for reads if possible.&lt;br/&gt;
Further, driver could take into account how uptodate a slave is, and avoid using one that is late.&lt;/p&gt;</description>
                <environment></environment>
        <key id="15316">JAVA-309</key>
            <summary>when choosing slave to read from, should take into account slaveDelay and possibly oplog status</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="antoine">Antoine Girbal</reporter>
                        <labels>
                    </labels>
                <created>Sun, 27 Mar 2011 18:45:38 +0000</created>
                <updated>Wed, 21 Sep 2016 21:24:22 +0000</updated>
                            <resolved>Wed, 21 Sep 2016 21:22:55 +0000</resolved>
                                                                    <component>Cluster Management</component>
                                        <votes>1</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1390355" author="jeff.yemin" created="Wed, 21 Sep 2016 21:22:55 +0000"  >&lt;p&gt;Closing as Won&apos;t Fix, though some of the use cases will be satisfied by &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2248&quot; title=&quot;Allow users to set a limit on acceptable staleness for secondary reads&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2248&quot;&gt;&lt;del&gt;JAVA-2248&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="117684" author="idris" created="Wed, 9 May 2012 15:15:10 +0000"  >&lt;p&gt;The oplog part of this looks like it would be resolved by &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;.&lt;/p&gt;</comment>
                            <comment id="97665" author="antoine" created="Sun, 11 Mar 2012 20:56:19 +0000"  >&lt;p&gt;as per doc, slaveDelay requires priority=0 and enforces hidden=true&lt;br/&gt;
So it will not be used for read operations by the driver.&lt;/p&gt;

&lt;p&gt;As for oplog status, this would be much easier if it got reported by servers in isMaster response.&lt;br/&gt;
Otherwise there is too much work to do for the driver.&lt;br/&gt;
Also it can be tricky, at what point a driver needs to stop using a slave (and slave delay can appear artificially high at times)&lt;/p&gt;</comment>
                            <comment id="97534" author="jeff.yemin" created="Sat, 10 Mar 2012 20:02:59 +0000"  >&lt;p&gt;Don&apos;t we already ignore servers with slavedelay?&lt;/p&gt;</comment>
                            <comment id="60511" author="idris" created="Fri, 14 Oct 2011 17:04:32 +0000"  >&lt;p&gt;What&apos;s the status of this issue? Was it ever implemented?&lt;/p&gt;

&lt;p&gt;In general, if you have a slaveDelay node specified as one of the hosts in your driver, will it try to read data from that node?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="301377">JAVA-2248</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrgaif:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8610</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>