<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:19:20 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 add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-2254] Remove outdated indexes on jsonb-&gt;&gt;&apos;foreignKeyId&apos; field</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2254</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Once 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;RMB-468&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/RMB-468&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Foreign key field index&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium&quot; /&gt;
            RMB-468
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
 is implemented, we should consider to clean up existing indexes on &lt;tt&gt;jsonb-&amp;gt;&amp;gt;&apos;foreignKeyId&apos;&lt;/tt&gt; field&lt;br/&gt;
For example: &lt;a href=&quot;https://github.com/folio-org/mod-inventory-storage/blob/v17.0.0/src/main/resources/templates/db_scripts/schema.json#L688&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-inventory-storage/blob/v17.0.0/src/main/resources/templates/db_scripts/schema.json#L688&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
      &lt;span class=&quot;code-quote&quot;&gt;&quot;tableName&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;holdings_record&quot;&lt;/span&gt;,
      &lt;span class=&quot;code-quote&quot;&gt;&quot;ginIndex&quot;&lt;/span&gt;: [
        {
          &lt;span class=&quot;code-quote&quot;&gt;&quot;fieldName&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;instanceId&quot;&lt;/span&gt;,
          &lt;span class=&quot;code-quote&quot;&gt;&quot;tOps&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;ADD&quot;&lt;/span&gt;,
          &lt;span class=&quot;code-quote&quot;&gt;&quot;caseSensitive&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;,
          &lt;span class=&quot;code-quote&quot;&gt;&quot;removeAccents&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
        },
        {
          &lt;span class=&quot;code-quote&quot;&gt;&quot;fieldName&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;permanentLocationId&quot;&lt;/span&gt;,
          &lt;span class=&quot;code-quote&quot;&gt;&quot;tOps&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;ADD&quot;&lt;/span&gt;,
          &lt;span class=&quot;code-quote&quot;&gt;&quot;caseSensitive&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;,
          &lt;span class=&quot;code-quote&quot;&gt;&quot;removeAccents&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
        },
        {
          &lt;span class=&quot;code-quote&quot;&gt;&quot;fieldName&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;temporaryLocationId&quot;&lt;/span&gt;,
          &lt;span class=&quot;code-quote&quot;&gt;&quot;tOps&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;ADD&quot;&lt;/span&gt;,
          &lt;span class=&quot;code-quote&quot;&gt;&quot;caseSensitive&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;,
          &lt;span class=&quot;code-quote&quot;&gt;&quot;removeAccents&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
        }
      ]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We have tickets for individual modules, so this becomes an umbrella ticket. We should skip scoring this one and close it once all module tickets are completed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="81375">FOLIO-2254</key>
            <summary>Remove outdated indexes on jsonb-&gt;&gt;&apos;foreignKeyId&apos; field</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/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="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c">Hongwei Ji</assignee>
                                                                <reporter accountid="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c">Hongwei Ji</reporter>
                                    <labels>
                            <label>platform-backlog</label>
                    </labels>
                <created>Wed, 11 Sep 2019 15:07:55 +0000</created>
                <updated>Wed, 3 Jun 2020 16:40:07 +0000</updated>
                            <resolved>Wed, 4 Dec 2019 17:59:15 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="193064" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Thu, 19 Sep 2019 09:09:53 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; class=&quot;user-hover&quot; rel=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; data-account-id=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; accountid=&quot;557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c&quot; rel=&quot;noreferrer&quot;&gt;Hongwei Ji&lt;/a&gt; can you please create tickets for individual modules (modinvstor, modcircstor, etc)?&lt;/p&gt;</comment>
                                                            <comment id="193067" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Thu, 19 Sep 2019 18:32:39 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ab8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; class=&quot;user-hover&quot; rel=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; data-account-id=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; accountid=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; rel=&quot;noreferrer&quot;&gt;Jakub Skoczen&lt;/a&gt; I did a quick GitHub search and created four user store&lt;br/&gt;
&lt;a href=&quot;https://folio-org.atlassian.net/browse/MODINVSTOR-352&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-org.atlassian.net/browse/MODINVSTOR-352&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://folio-org.atlassian.net/browse/MODINVOSTO-42&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-org.atlassian.net/browse/MODINVOSTO-42&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://folio-org.atlassian.net/browse/MODORDSTOR-111&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-org.atlassian.net/browse/MODORDSTOR-111&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://folio-org.atlassian.net/browse/MODSOURMAN-196&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-org.atlassian.net/browse/MODSOURMAN-196&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;BTW, mod-users has one place but it does not specify foreign keys in schema.json&lt;br/&gt;
&lt;a href=&quot;https://github.com/folio-org/mod-users/blob/master/src/main/resources/templates/db_scripts/schema.json#L152-L168&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-users/blob/master/src/main/resources/templates/db_scripts/schema.json#L152-L168&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="193072" author="5ee89462f7aa140abd82d11d" created="Fri, 20 Sep 2019 14:09:35 +0000"  >&lt;p&gt;This should be part of bumping the RMB version that contains 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;RMB-468&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/RMB-468&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Foreign key field index&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium&quot; /&gt;
            RMB-468
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
.&lt;/p&gt;</comment>
                                                            <comment id="193076" author="5ee89462f7aa140abd82d11d" created="Fri, 20 Sep 2019 14:12:00 +0000"  >&lt;p&gt;We should extend this issue to also remove indexes on the primary key &quot;id&quot;. Postgresql automatically creates an index for the primary key therefore this additional index is not needed.&lt;br/&gt;
Example: &lt;a href=&quot;https://github.com/folio-org/mod-inventory-storage/blob/v17.0.0/src/main/resources/templates/db_scripts/schema.json#L708&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-inventory-storage/blob/v17.0.0/src/main/resources/templates/db_scripts/schema.json#L708&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="193082" author="5ee89462f7aa140abd82d11d" created="Mon, 2 Dec 2019 15:03:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/folio-org/raml-module-builder/blob/master/doc/upgrading.md#version-271&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/raml-module-builder/blob/master/doc/upgrading.md#version-271&lt;/a&gt; contains this upgrading instructions for 27.1:&lt;br/&gt;
&quot;Remove all foreign keys fields and the primary key field id from the all index sections of schema.json. These btree indexes are created automatically.&quot;&lt;/p&gt;</comment>
                                                            <comment id="193086" author="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c" created="Wed, 4 Dec 2019 17:59:15 +0000"  >&lt;p&gt;Completed all four children tickets. Close this one as well now.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="57090">RMB-468</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="74245">MODINVOSTO-42</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="57752">MODSOURMAN-196</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="55964">MODINVSTOR-352</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32487">MODORDSTOR-111</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10144"><![CDATA[Core: Platform]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzx50f:4y0b</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1165">CP: sprint 78</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 19 Sep 2019 09:09:53 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>