<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:23:26 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-30329] WiredTiger encryption at rest downgrade path from 3.6 -&gt; 3.4</title>
                <link>https://jira.mongodb.org/browse/SERVER-30329</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Encryption at rest uses a second WiredTiger database to store encryption keys to the standard MongoDB databases. Without modification, the wiredtiger_open call of this second database in 3.6 will upgrade WT&apos;s file compatibility to 3.0. A shutdown on FCV 3.4 would require changing the compatibility back to 2.9.&lt;/p&gt;

&lt;p&gt;One option is to never upgrade this inner wiredtiger instance to 3.0 and keep it on 2.9. The bug fixed in WT&apos;s journal is unlikely to happen on this keystore database.&lt;/p&gt;

&lt;p&gt;Alternatively, this keystore could run in &quot;no journal&quot; mode and require a checkpoint to make writes durable.&lt;/p&gt;

&lt;p&gt;Another edge case to consider is that key rotation does an early shutdown of the `mongod` process. This happens before the FCV value is read from the `admin.system.version` collection. This leaves storage engine cleanup in a state where it does not know what version the file compatibility should be set to. It may make sense for key rotation to always use file compatibility 2.9. Alternatively WiredTiger can expose a method for keeping the file compatibility the same instead of auto-upgrading.&lt;/p&gt;</description>
                <environment></environment>
        <key id="408287">SERVER-30329</key>
            <summary>WiredTiger encryption at rest downgrade path from 3.6 -&gt; 3.4</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="daniel.gottlieb@mongodb.com">Daniel Gottlieb</assignee>
                                    <reporter username="daniel.gottlieb@mongodb.com">Daniel Gottlieb</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Jul 2017 21:52:32 +0000</created>
                <updated>Mon, 30 Oct 2023 23:14:54 +0000</updated>
                            <resolved>Thu, 27 Jul 2017 19:25:37 +0000</resolved>
                                                    <fixVersion>3.5.11</fixVersion>
                                    <component>Security</component>
                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1634068" author="xgen-internal-githook" created="Thu, 27 Jul 2017 23:18:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;daniel.gottlieb@mongodb.com&apos;, &apos;username&apos;: &apos;dgottlieb&apos;, &apos;name&apos;: &apos;Daniel Gottlieb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30329&quot; title=&quot;WiredTiger encryption at rest downgrade path from 3.6 -&amp;gt; 3.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30329&quot;&gt;&lt;del&gt;SERVER-30329&lt;/del&gt;&lt;/a&gt;: Use WT file compatibility version 2.9 for the keystore database.&lt;br/&gt;
Branch: moose&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/4c65cbb6f848b8937e6570118532c66fe0ac44ac&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/4c65cbb6f848b8937e6570118532c66fe0ac44ac&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1633814" author="xgen-internal-githook" created="Thu, 27 Jul 2017 19:25:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;daniel.gottlieb@mongodb.com&apos;, &apos;username&apos;: &apos;dgottlieb&apos;, &apos;name&apos;: &apos;Daniel Gottlieb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30329&quot; title=&quot;WiredTiger encryption at rest downgrade path from 3.6 -&amp;gt; 3.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30329&quot;&gt;&lt;del&gt;SERVER-30329&lt;/del&gt;&lt;/a&gt;: Use WT file compatibility version 2.9 for the keystore database.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/891b0fcbbef0f0e22fef7798a4ca79432aeb82f1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/891b0fcbbef0f0e22fef7798a4ca79432aeb82f1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1632524" author="daniel.gottlieb@10gen.com" created="Wed, 26 Jul 2017 17:52:13 +0000"  >&lt;p&gt;Great, I think using the 2.9 compatibility flag is a winner. &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spencer.jackson&quot; class=&quot;user-hover&quot; rel=&quot;spencer.jackson&quot;&gt;spencer.jackson&lt;/a&gt; Just tagging you to see a correction from my assessment. The 2.9 file compatibility no longer has the journaling bug in WiredTiger, just a sub-optimal solution.&lt;/p&gt;</comment>
                            <comment id="1632334" author="sue.loverso" created="Wed, 26 Jul 2017 15:52:22 +0000"  >&lt;blockquote&gt;&lt;p&gt;One option is to never upgrade this inner wiredtiger instance to 3.0 and keep it on 2.9. The bug fixed in WT&apos;s journal is unlikely to happen on this keystore database.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;FTR, the bug in the journal is fixed in the latest release of 3.4, it just uses an &lt;tt&gt;fsync&lt;/tt&gt; call so the log file format change in WT is performance related not correctness related.  So staying at 2.9 is viable.  Then when the users will no longer (potentially) run at that release the option can be removed.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Alternatively, this keystore could run in &quot;no journal&quot; mode and require a checkpoint to make writes durable.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This is also a viable option.  Yes, these updates would have to be durable after every write.  But this database should rarely be written.&lt;/p&gt;

&lt;p&gt;Both options appear low-risk and small changes.  I think that passing in the 2.9 compatibility flag is a smaller change and solves the problem.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.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>Wed, 26 Jul 2017 15:52:22 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 28 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-715</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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 28 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>daniel.gottlieb@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>sue.loverso@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htbmun:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht3gin:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1756">Storage 2017-07-31</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|htb8xb:</customfieldvalue>

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