<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:47: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-59339] repodata in S3 bucket out of sync with repo.mongodb.org</title>
                <link>https://jira.mongodb.org/browse/SERVER-59339</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi.&lt;/p&gt;

&lt;p&gt;We create a local copy of the CentOS repos for systems that have no internet access.&lt;/p&gt;

&lt;p&gt;As there is no rsync access to the repos, we sync the data from the S3 bucket.&lt;/p&gt;

&lt;p&gt;I&apos;ve noticed that the repodata in AWS S3 is not having the old data removed. For example:&lt;br/&gt;
s3://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/repodata/&lt;/p&gt;

&lt;p&gt;contains numerous versions of the repodata, whereas:&lt;br/&gt;
&lt;a href=&quot;https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/repodata/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/repodata/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;only contains the latest version.&lt;/p&gt;

&lt;p&gt;This causes a &quot;dnf upgrade&quot; to not identify the newer versions.&lt;/p&gt;

&lt;p&gt;Can the S3 bucket be updated to mirror the repo?&lt;/p&gt;

&lt;p&gt;Thanks in advance.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1850993">SERVER-59339</key>
            <summary>repodata in S3 bucket out of sync with repo.mongodb.org</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="13203">Gone away</resolution>
                                        <assignee username="jonathan.streets@mongodb.com">Jonathan Streets</assignee>
                                    <reporter username="third.line@invade.net">INVADE International Ltd</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Aug 2021 11:18:32 +0000</created>
                <updated>Fri, 27 Oct 2023 20:45:57 +0000</updated>
                            <resolved>Fri, 27 Aug 2021 19:01:16 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="4018838" author="JIRAUSER1269682" created="Tue, 24 Aug 2021 10:05:07 +0000"  >&lt;p&gt;Thanks for confirming.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Please close this issue.&lt;/p&gt;</comment>
                            <comment id="4014729" author="zakhar.kleyman" created="Fri, 20 Aug 2021 21:16:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=third.line%40invade.net&quot; class=&quot;user-hover&quot; rel=&quot;third.line@invade.net&quot;&gt;third.line@invade.net&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;repomd.xml is what the package manager will load to get information about file lists and other indexes and there should only be 1 repomd.xml per yum/dnf repo. It&apos;s crucial to have it synced along with other files, so I&apos;m glad you found a way to do that with &quot;--exact-timestamps&quot; parameter.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/repodata/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/repodata/&lt;/a&gt; is actually hosted in s3://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/repodata/. The list of files you see in the browser comes from a static index.html that only shows the latest files. But all files you see in that s3 bucket can also be accessed via https even if they are not listed on the index page.&lt;/p&gt;</comment>
                            <comment id="4002126" author="eric.sedor" created="Mon, 16 Aug 2021 17:50:10 +0000"  >&lt;p&gt;Thank you, I&apos;m passing your report to an appropriate team for investigation.&lt;/p&gt;</comment>
                            <comment id="3999190" author="JIRAUSER1269682" created="Fri, 13 Aug 2021 11:55:59 +0000"  >&lt;p&gt;I&apos;ve investigated this further.&lt;/p&gt;

&lt;p&gt;The main issue appears to be that the updated repomd.xml is not being sync&apos;d because it is the same size.&lt;/p&gt;

&lt;p&gt;Based on:&lt;br/&gt;
&lt;a href=&quot;https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/sync.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/sync.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have added the &quot;--exact-timestamps&quot; parameter to the sync command and now files that are the same size, but have a different timestamp, are being sync&apos;d.&lt;/p&gt;

&lt;p&gt;Not sure if the multiple repodata files should be in the S3 bucket so leaving this issue open.&lt;/p&gt;

&lt;p&gt;If it&apos;s working as designed then this issue can be closed.&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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 16 Aug 2021 17:50:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 24 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 24 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eric.sedor@mongodb.com</customfieldvalue>
            <customfieldvalue>third.line@invade.net</customfieldvalue>
            <customfieldvalue>jonathan.streets@mongodb.com</customfieldvalue>
            <customfieldvalue>zakhar.kleyman@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxoin:</customfieldvalue>

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

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