<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:39:17 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-78801] Ensure cluster-wide parameters mechanism correctness (when working with query settings parameter)</title>
                <link>https://jira.mongodb.org/browse/SERVER-78801</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;querySettings cluster parameter is a special cluster parameter, that suffers from lost update problem.&lt;/p&gt;

&lt;p&gt;Corresponding &lt;a href=&quot;https://docs.google.com/document/d/1eEQiG3lHORoFH-5ryxEghjT1ld39UQK0h2JQjNagGIo/edit&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;design doc&lt;/a&gt; describes how to mitigate this issue.&lt;/p&gt;

&lt;p&gt;This ticket tracks all the work required to ensure no correctness issues may occur.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2387222">SERVER-78801</key>
            <summary>Ensure cluster-wide parameters mechanism correctness (when working with query settings parameter)</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="romans.kasperovics@mongodb.com">Romans Kasperovics</assignee>
                                    <reporter username="denis.grebennicov@mongodb.com">Denis Grebennicov</reporter>
                        <labels>
                            <label>M2</label>
                    </labels>
                <created>Mon, 10 Jul 2023 11:02:27 +0000</created>
                <updated>Fri, 26 Jan 2024 20:43:00 +0000</updated>
                            <resolved>Sat, 6 Jan 2024 23:34:51 +0000</resolved>
                                                    <fixVersion>7.3.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                                                            <comments>
                            <comment id="6045791" author="xgen-internal-githook" created="Fri, 26 Jan 2024 20:43:00 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;romanskas&apos;, &apos;email&apos;: &apos;30618745+romanskas@users.noreply.github.com&apos;, &apos;username&apos;: &apos;romanskas&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-85789&quot; title=&quot;Document changes to cluster server parameters&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-85789&quot;&gt;&lt;del&gt;SERVER-85789&lt;/del&gt;&lt;/a&gt; Update server parameter docs (#17465)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-85789&quot; title=&quot;Document changes to cluster server parameters&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-85789&quot;&gt;&lt;del&gt;SERVER-85789&lt;/del&gt;&lt;/a&gt; Update server parameter docs&lt;/p&gt;

&lt;p&gt;Persistent query settings (PM-412) use cluster server parameters&lt;br/&gt;
internally. In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78801&quot; title=&quot;Ensure cluster-wide parameters mechanism correctness (when working with query settings parameter)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78801&quot;&gt;&lt;del&gt;SERVER-78801&lt;/del&gt;&lt;/a&gt;, we added checks prohibiting running&lt;br/&gt;
concurrent cluster server parameter updates. The intention of this&lt;br/&gt;
change is to reflect these checks in the available technical&lt;br/&gt;
documentation. Additional changes result from updating to the most&lt;br/&gt;
recent state of the code, adding details, formatting,&lt;br/&gt;
restructuring, and running a spell checker.&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 55aeaddd624a9657c69a10f77b0e7efb2a4463df&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a4d5d9dadba7f94889792f4832aad3bb334b9dba&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a4d5d9dadba7f94889792f4832aad3bb334b9dba&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5990806" author="xgen-internal-githook" created="Sat, 6 Jan 2024 02:38:48 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;romanskas&apos;, &apos;email&apos;: &apos;30618745+romanskas@users.noreply.github.com&apos;, &apos;username&apos;: &apos;romanskas&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81099&quot; title=&quot;Prevent set-/removeQuerySettings being called in standalone&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-81099&quot;&gt;&lt;del&gt;SERVER-81099&lt;/del&gt;&lt;/a&gt; Ban setQuerySettings on standalone (#17559)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81099&quot; title=&quot;Prevent set-/removeQuerySettings being called in standalone&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-81099&quot;&gt;&lt;del&gt;SERVER-81099&lt;/del&gt;&lt;/a&gt; Ban setQuerySettings on standalone&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78801&quot; title=&quot;Ensure cluster-wide parameters mechanism correctness (when working with query settings parameter)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78801&quot;&gt;&lt;del&gt;SERVER-78801&lt;/del&gt;&lt;/a&gt; introduced checks for lost updates prohibiting concurrent&lt;br/&gt;
modification of query settings. These checks rely on a vector clock,&lt;br/&gt;
which is&lt;br/&gt;
not functioning correctly in standalone deployment resulting in an&lt;br/&gt;
internal&lt;br/&gt;
error. Therefore, we prohibit query settings modification on standalone.&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 873c971a9b8c384943ac89c43a73c7da8b4a0fb1&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8934a112bed8d98cc80a4b4934d9606e734eb9ac&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8934a112bed8d98cc80a4b4934d9606e734eb9ac&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5966387" author="xgen-internal-githook" created="Thu, 21 Dec 2023 18:07:23 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;romanskas&apos;, &apos;email&apos;: &apos;30618745+romanskas@users.noreply.github.com&apos;, &apos;username&apos;: &apos;romanskas&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78803&quot; title=&quot;Introduce maxPreviousTime parameter to setClusterParameter command in sharded clusters&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78803&quot;&gt;&lt;del&gt;SERVER-78803&lt;/del&gt;&lt;/a&gt; Reject concurrent query settings updates in sharded clusters (#17060)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78803&quot; title=&quot;Introduce maxPreviousTime parameter to setClusterParameter command in sharded clusters&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78803&quot;&gt;&lt;del&gt;SERVER-78803&lt;/del&gt;&lt;/a&gt; Reject concurrent query settings updates in sharded&lt;br/&gt;
clusters&lt;/p&gt;

&lt;p&gt;Until now, a new value of a cluster parameter was just replacing the old&lt;br/&gt;
one.&lt;br/&gt;
For the query settings project it is important to read / modify / write&lt;br/&gt;
cluster parameter values. In this scenario, concurrent calls of&lt;br/&gt;
setQuerySettings command may lead to seemingly successful, but incorrect&lt;br/&gt;
results.&lt;br/&gt;
This commit introduces an additional &apos;previousTime&apos; parameter to ensure&lt;br/&gt;
that the cluster parameter value that was read has not changed at the&lt;br/&gt;
time&lt;br/&gt;
of writing, otherwise the operation must fail.&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78802&quot; title=&quot;Introduce maxPreviousTime parameter to setClusterParameter command in replica set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78802&quot;&gt;&lt;del&gt;SERVER-78802&lt;/del&gt;&lt;/a&gt; has added the &apos;previousTime&apos; parameter and the related&lt;br/&gt;
check&lt;br/&gt;
for replica set deployments. This change is adding the check to sharded&lt;br/&gt;
cluster&lt;br/&gt;
deployments.&lt;br/&gt;
As of now, the optional &apos;previousTime&apos; parameter is only being used by&lt;br/&gt;
the&lt;br/&gt;
query settings command. The design consideration for this new parameter&lt;br/&gt;
and&lt;br/&gt;
the related check are described in the design document attached to the&lt;br/&gt;
parent&lt;br/&gt;
ticket &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78801&quot; title=&quot;Ensure cluster-wide parameters mechanism correctness (when working with query settings parameter)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78801&quot;&gt;&lt;del&gt;SERVER-78801&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: f5f35648c676f7dd132ba69d34bbd5251b71a2e1&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6b1483403eebc2307ac32b211bad863e21970a45&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6b1483403eebc2307ac32b211bad863e21970a45&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2546199">SERVER-85233</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2442062">SERVER-81062</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                            <subtask id="2387223">SERVER-78802</subtask>
                            <subtask id="2387224">SERVER-78803</subtask>
                            <subtask id="2387225">SERVER-78804</subtask>
                            <subtask id="2429656">SERVER-80534</subtask>
                            <subtask id="2443231">SERVER-81099</subtask>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>12.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>Thu, 21 Dec 2023 18:07:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 week, 5 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_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-412</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>xgen-internal-githook</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 week, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>denis.grebennicov@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>romans.kasperovics@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2h4i7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1z9xo:</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="7241">QE 2023-07-24</customfieldvalue>
    <customfieldvalue id="7246">QE 2023-08-21</customfieldvalue>
    <customfieldvalue id="7248">QE 2023-09-04</customfieldvalue>
    <customfieldvalue id="7249">QE 2023-09-18</customfieldvalue>
    <customfieldvalue id="7251">QE 2023-10-02</customfieldvalue>
    <customfieldvalue id="7254">QE 2023-10-16</customfieldvalue>
    <customfieldvalue id="7255">QE 2023-10-30</customfieldvalue>
    <customfieldvalue id="7257">QE 2023-11-13</customfieldvalue>
    <customfieldvalue id="7259">QE 2023-11-27</customfieldvalue>
    <customfieldvalue id="7261">QE 2023-12-11</customfieldvalue>
    <customfieldvalue id="7264">QE 2023-12-25</customfieldvalue>
    <customfieldvalue id="8043">QE 2024-01-08</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|i2gqnj:</customfieldvalue>

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