<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:28:11 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-31789] How will mongos report logicalSessionTimeoutMinutes?</title>
                <link>https://jira.mongodb.org/browse/SERVER-31789</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;m curious how &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-31738&quot; title=&quot;fcv34 should suppress logicalSessionTimeoutMinutes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-31738&quot;&gt;&lt;del&gt;SERVER-31738&lt;/del&gt;&lt;/a&gt; will interact with mongos. If all shards are feature compatibility mode 3.6, I suppose we can expect mongos&apos; &lt;tt&gt;isMaster&lt;/tt&gt; response to include &lt;tt&gt;logicalSessionTimeoutMinutes&lt;/tt&gt;, but what if two shards are 3.6 mode and one shard is not? Does the introduction of a new shard lacking sessions break sessions for the entire cluster? Alternatively, if only one of three shards does not support sessions, is mongos still capable of retrying writes to the shards that do have support?&lt;/p&gt;</description>
                <environment></environment>
        <key id="453898">SERVER-31789</key>
            <summary>How will mongos report logicalSessionTimeoutMinutes?</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="samantha.ritter@mongodb.com">Samantha Ritter</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Nov 2017 19:28:41 +0000</created>
                <updated>Thu, 2 Nov 2017 23:52:56 +0000</updated>
                            <resolved>Thu, 2 Nov 2017 23:52:40 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="1716138" author="jmikola@gmail.com" created="Thu, 2 Nov 2017 23:52:40 +0000"  >&lt;p&gt;Thanks. I think that clears up our original questions.&lt;/p&gt;</comment>
                            <comment id="1716087" author="kaloian.manassiev" created="Thu, 2 Nov 2017 22:09:26 +0000"  >&lt;p&gt;Correct, we will get a batch write reply with {&lt;tt&gt;ok:true&lt;/tt&gt;} and a &lt;tt&gt;writeError&lt;/tt&gt; entry containing some kind of &quot;NotSupported&quot; error.&lt;/p&gt;</comment>
                            <comment id="1715862" author="samantha.ritter@10gen.com" created="Thu, 2 Nov 2017 19:40:02 +0000"  >&lt;p&gt;Kal would know better how the fan-out works, but that is how I believe it would work, that you would get back an error from the individual writes that were directed to the FCV 3.4 nodes.  I have not tried this, though (nor could I until &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-31777&quot; title=&quot;Explicitly deactivate logical sessions under FCV34&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-31777&quot;&gt;&lt;del&gt;SERVER-31777&lt;/del&gt;&lt;/a&gt; is done)&lt;/p&gt;</comment>
                            <comment id="1715846" author="jmikola@gmail.com" created="Thu, 2 Nov 2017 19:31:51 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=samantha.ritter&quot; class=&quot;user-hover&quot; rel=&quot;samantha.ritter&quot;&gt;samantha.ritter&lt;/a&gt;: That&apos;s correct. In such an edge case, I would expect FCV 3.6 mongos to send along write commands with &lt;tt&gt;lsid&lt;/tt&gt; and &lt;tt&gt;txnNumber&lt;/tt&gt; to each targeted shard. Any FCV 3.4 mongods will then raise an error (per &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-31777&quot; title=&quot;Explicitly deactivate logical sessions under FCV34&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-31777&quot;&gt;&lt;del&gt;SERVER-31777&lt;/del&gt;&lt;/a&gt;), and mongos may report that a subset of writes failed in its response to the driver (akin to Kal&apos;s comment in &lt;a href=&quot;https://jira.mongodb.org/browse/SPEC-982?focusedCommentId=1715795&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1715795&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;SPEC-982&lt;/a&gt; about mongos relaying a NotMaster or NetworkError to the driver). Is that accurate?&lt;/p&gt;</comment>
                            <comment id="1715817" author="samantha.ritter@10gen.com" created="Thu, 2 Nov 2017 19:08:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jmikola&quot; class=&quot;user-hover&quot; rel=&quot;jmikola&quot;&gt;jmikola&lt;/a&gt; I think your question here is &quot;What happens to the logicalSessionTimeoutMinutes field reported by mongos when we are running in an FCV 3.6 cluster, but there are shards with FCV 3.4?&quot;  Is that correct?  With the caveat that we could only be in this state in very particular cases.&lt;/p&gt;
</comment>
                            <comment id="1715493" author="jmikola@gmail.com" created="Thu, 2 Nov 2017 15:41:01 +0000"  >&lt;p&gt;Based on discussion with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kaloian.manassiev&quot; class=&quot;user-hover&quot; rel=&quot;kaloian.manassiev&quot;&gt;kaloian.manassiev&lt;/a&gt; this morning, I was told that mongos will decide to report &lt;tt&gt;logicalSessionTimeoutMinutes&lt;/tt&gt; based only the cluster&apos;s FCV configuration. This question pertains to an edge case if a 3.6 standalone is added as a shard, or an active replica set shard has its FCV downgraded from 3.6 to 3.4 (assuming either of those is even possible).&lt;/p&gt;

&lt;p&gt;Note: Since a 3.6 mongos cannot even communicate with a 3.4 mongod binary, there is no concern that a FCV 3.6 cluster might include mongods with an older binary version.&lt;/p&gt;</comment>
                            <comment id="1715330" author="jmikola@gmail.com" created="Thu, 2 Nov 2017 13:41:41 +0000"  >&lt;p&gt;This might also relate to my question in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-28916?focusedCommentId=1715328&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1715328&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;SERVER-28916&lt;/a&gt;, if it&apos;s possible that sessions and retryable writes are only supported by a subset of shards in the cluster.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="376351">SERVER-28916</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="451654">SERVER-31738</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 2 Nov 2017 19:08:17 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 14 weeks, 6 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_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>jmikola@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 14 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jmikola@mongodb.com</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
            <customfieldvalue>samantha.ritter@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htj6bj:</customfieldvalue>

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

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