<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:36:00 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-34242] Enable causal consistency in concurrency_replication suite</title>
                <link>https://jira.mongodb.org/browse/SERVER-34242</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Either enable causal consistency in concurrency_replication, or create a separate suite with causal consistency enabled. &lt;/p&gt;

&lt;p&gt;Causal consistency would allow us to run multi_statement_transaction_simple.js with varying writeConcerns, since we could use causal consistency to ensure that the worker threads read the writes performed during setup.&lt;/p&gt;</description>
                <environment></environment>
        <key id="519607">SERVER-34242</key>
            <summary>Enable causal consistency in concurrency_replication suite</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="3">Duplicate</resolution>
                                        <assignee username="max.hirschhorn@mongodb.com">Max Hirschhorn</assignee>
                                    <reporter username="tess.avitabile@mongodb.com">Tess Avitabile</reporter>
                        <labels>
                    </labels>
                <created>Fri, 30 Mar 2018 22:07:24 +0000</created>
                <updated>Wed, 20 Jun 2018 22:10:04 +0000</updated>
                            <resolved>Sat, 9 Jun 2018 14:13:26 +0000</resolved>
                                                                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="1903194" author="tess.avitabile" created="Tue, 29 May 2018 13:38:00 +0000"  >&lt;p&gt;That suite sounds like great coverage.&lt;/p&gt;

&lt;p&gt;I think it&apos;s fine to close this ticket. I originally filed it so that we could run&#160;multi_statement_transaction_simple.js with varying writeConcerns for the setup, since we could use causal consistency to get read-your-writes. This is no longer important since we now get read-your-writes behavior from speculative snapshot read concern, so we could feel free to change the writeConcern used for the setup. Also we are going to get coverage for running transactions in causally consistent session in&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34348&quot; title=&quot;Test that transactions play well with causal consistency&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34348&quot;&gt;&lt;del&gt;SERVER-34348&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1901562" author="max.hirschhorn@10gen.com" created="Fri, 25 May 2018 04:03:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tess.avitabile&quot; class=&quot;user-hover&quot; rel=&quot;tess.avitabile&quot;&gt;tess.avitabile&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=william.schultz&quot; class=&quot;user-hover&quot; rel=&quot;william.schultz&quot;&gt;william.schultz&lt;/a&gt;, how do your ideas for a &lt;tt&gt;concurrency_replication_causal_consistency.yml&lt;/tt&gt; test suite compare to the one that &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=xiangyu.yao&quot; class=&quot;user-hover&quot; rel=&quot;xiangyu.yao&quot;&gt;xiangyu.yao&lt;/a&gt; added in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32883&quot; title=&quot;Enhanced FSM testing for reading from secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32883&quot;&gt;&lt;del&gt;SERVER-32883&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="1856390" author="jonathan.abrahams" created="Thu, 5 Apr 2018 15:43:26 +0000"  >&lt;p&gt;I think it makes sense to just have causal consistency enabled on the session.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=william.schultz&quot; class=&quot;user-hover&quot; rel=&quot;william.schultz&quot;&gt;william.schultz&lt;/a&gt; Would a new FSM test for reads within transactions be sufficient to satisfy that coverage, or should we design a new suite?&lt;/p&gt;</comment>
                            <comment id="1856311" author="tess.avitabile" created="Thu, 5 Apr 2018 15:05:03 +0000"  >&lt;p&gt;That is a good point. It is probably less valuable to test causal consistency for transactions, since we are not yet supporting read-only transactions on secondaries. It also could be hard to design a causal consistency suite for transactions that directs reads to secondaries, since we cannot yet direct reads to secondaries within a transaction--we can only direct entire read-only transactions to secondaries.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jonathan.abrahams&quot; class=&quot;user-hover&quot; rel=&quot;jonathan.abrahams&quot;&gt;jonathan.abrahams&lt;/a&gt;, would you imagine that a causally consistent version of concurrency_replication would direct reads to secondaries or just run with causal consistency enabled on the session? And what do you think we should do with reads within transactions?&lt;/p&gt;</comment>
                            <comment id="1855652" author="william.schultz" created="Wed, 4 Apr 2018 21:13:47 +0000"  >&lt;p&gt;Interestingly, I just learned that we are not going to officially support read-only transactions on secondaries in 4.0. If this is the case, causal consistency testing for transactions may be less meaningful. If we enable read-only transactions on secondaries behind a test-only flag, however, we could consider starting to test them now, even if they are not officially supported until 4.2.&lt;/p&gt;</comment>
                            <comment id="1855638" author="william.schultz" created="Wed, 4 Apr 2018 21:05:32 +0000"  >&lt;p&gt;Yes, I think it would be valuable to have a &lt;tt&gt;concurrency_replication_causal_consistency&lt;/tt&gt; suite, analogous to the existing sharding suite. If we were going to prioritize test suites to add for 4.0 however, it adding a more basic causally consistent transactions passthrough suite might be the thing to do first. This would be something like &lt;tt&gt;causally_consistent_jscore_txns_passthrough&lt;/tt&gt;, since we don&apos;t get coverage of causal consistency with transactions via the core transactions tests. I added a note about this in the test plan. We should also include it on Max&apos;s prioritized list of testing work if we think it&apos;s worthwhile.&lt;/p&gt;</comment>
                            <comment id="1855595" author="tess.avitabile" created="Wed, 4 Apr 2018 20:25:41 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=william.schultz&quot; class=&quot;user-hover&quot; rel=&quot;william.schultz&quot;&gt;william.schultz&lt;/a&gt;, do you think it is important to have this test suite for 4.0? This would allow us to run multi_statement_transaction_simple.js with causal consistency. Do you think this is important test coverage?&lt;/p&gt;</comment>
                            <comment id="1853375" author="jonathan.abrahams" created="Tue, 3 Apr 2018 14:40:39 +0000"  >&lt;p&gt;We should make a new test suite for causal consistency.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="486984">SERVER-32883</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="519302">SERVER-34209</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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 3 Apr 2018 14:40:39 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 37 weeks, 1 day 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>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 37 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jonathan.abrahams</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
            <customfieldvalue>william.schultz@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htu28v:</customfieldvalue>

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

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