<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:28 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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[CONTROLLER-1405] Provide ability to put content of multiple modules in a single shard</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1405</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Currently we have 2 options. Create a shard per module and put the all the modules which do not have a configured shard into the default shard. It would be nice if we could have the data for some related modules stored together in one shard. This will help us distribute data better across a cluster without forcing us to configure one shard per module which has it&apos;s own overhead (RAFT related heartbeats and such)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25959">CONTROLLER-1405</key>
            <summary>Provide ability to put content of multiple modules in a single shard</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10002">Duplicate</resolution>
                                        <assignee username="dhiraviam.natarajan@gmail.com">Natarajan Dhiraviam</assignee>
                                    <reporter username="moraja@cisco.com">Moiz Raja</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Aug 2015 10:44:54 +0000</created>
                <updated>Wed, 14 Nov 2018 12:21:00 +0000</updated>
                            <resolved>Wed, 14 Nov 2018 12:20:42 +0000</resolved>
                                    <version>Lithium</version>
                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="50975" author="tpantelis" created="Tue, 25 Aug 2015 19:37:48 +0000"  >&lt;p&gt;Moiz notes via email:&lt;/p&gt;

&lt;p&gt;A shard can contain,&lt;br/&gt;
a single modules data&lt;br/&gt;
a subset of a modules data&lt;br/&gt;
data for multiple modules&lt;br/&gt;
The original configuration was designed only for case 1 and 2.&lt;/p&gt;

&lt;p&gt;So let&#8217;s say inventory could actually be split into 2 shards we would have a configuration as follows,&lt;/p&gt;

&lt;p&gt;name=&#8220;inventory&#8221;&lt;br/&gt;
shards = [&lt;br/&gt;
    &lt;/p&gt;
{
        name=&#8220;inventory-1&#8221;,
        replicas=[&#8220;member-1&#8221;, &#8220;member-2&#8221;]
     }
&lt;p&gt;,&lt;/p&gt;
    {
        name=&#8220;inventory-2&#8221;,
        replicas=[&#8220;member-1&#8221;, &#8220;member-3&#8221;]
    }
&lt;p&gt;]&lt;/p&gt;

&lt;p&gt;The ShardStrategy would then be able to figure out if the data went in &#8220;inventory-1&#8221; or &#8220;inventory-2&#8221; shard.&lt;/p&gt;

&lt;p&gt;So based on the initial design we would need to have the configuration as follows.&lt;/p&gt;

&lt;p&gt;name=&#8220;inventory,topology&#8221;&lt;br/&gt;
shards = [&lt;/p&gt;
    {
        name=&#8220;inventory-topology&#8221;,
        replicas=[&#8220;member-1&#8221;, &#8220;member-2&#8221;]
     }
&lt;p&gt;]&lt;/p&gt;

&lt;p&gt;which basically says that inventory and topology data goes into the inventory-topology shard.&lt;/p&gt;</comment>
                            <comment id="50976" author="dhiraviam.natarajan@gmail.com" created="Mon, 12 Oct 2015 10:42:15 +0000"  >&lt;p&gt;Conclusion from last discussion was : &lt;br/&gt;
 + to support data for related modules stored together in one shard (multiple modules in one shard)&lt;br/&gt;
     Example : LACP extends node from inventory &amp;amp; it makes sense to have them &lt;br/&gt;
               both part of same shard.&lt;/p&gt;

&lt;p&gt;     So initial configuration would like this:&lt;br/&gt;
               name=&#8220;inventory,lacp&#8221;&lt;br/&gt;
               shards = [&lt;/p&gt;
                            {
                             name=&#8220;inventory-lacp&#8221;,
                             replicas=[&#8220;member-1&#8221;, &#8220;member-2&#8221;]
                             }
&lt;p&gt;                        ]&lt;/p&gt;

&lt;p&gt; + Until micro-sharding strategy aspects are worked out, spanning a module across shards shall not be considered.&lt;/p&gt;</comment>
                            <comment id="50977" author="dhiraviam.natarajan@gmail.com" created="Thu, 12 Nov 2015 13:24:53 +0000"  >&lt;p&gt;For multi-module sharding, tried aggregating inventory &amp;amp; lacp into a single shard, in a Single Node cluster setup. Was able to see inventory-lacp shard becoming Leader successfully.&lt;br/&gt;
Below was the modification in the conf file.&lt;br/&gt;
modules.conf:&lt;br/&gt;
-------------&lt;/p&gt;
    {   
        name = &quot;lacp&quot;
        namespace = &quot;urn:opendaylight:lacp:lacp-main&quot;
        shard-strategy = &quot;module&quot;
    }


&lt;p&gt;module-shards.conf:&lt;br/&gt;
-------------------&lt;br/&gt;
    {   &lt;br/&gt;
        name = &quot;inventory,lacp&quot;&lt;br/&gt;
        shards = [ &lt;/p&gt;
            {   
                name=&quot;inventory-lacp&quot;
                replicas = [ 
                    &quot;member-1&quot;
                ]   
            }   
&lt;p&gt;        ]   &lt;br/&gt;
    }&lt;/p&gt;

&lt;p&gt;Attached is the karaf log extract, jolokia output&lt;/p&gt;</comment>
                            <comment id="50978" author="dhiraviam.natarajan@gmail.com" created="Thu, 12 Nov 2015 13:26:54 +0000"  >&lt;p&gt;For multi-module sharding, tried aggregating inventory &amp;amp; lacp into a single shard, in a Single Node cluster setup. Was able to see inventory-lacp shard becoming Leader successfully.&lt;br/&gt;
Below was the modification in the conf file.&lt;br/&gt;
modules.conf:&lt;br/&gt;
-------------&lt;/p&gt;
    {   
        name = &quot;lacp&quot;
        namespace = &quot;urn:opendaylight:lacp:lacp-main&quot;
        shard-strategy = &quot;module&quot;
    }


&lt;p&gt;module-shards.conf:&lt;br/&gt;
-------------------&lt;br/&gt;
    {   &lt;br/&gt;
        name = &quot;inventory,lacp&quot;&lt;br/&gt;
        shards = [ &lt;/p&gt;
            {   
                name=&quot;inventory-lacp&quot;
                replicas = [ 
                    &quot;member-1&quot;
                ]   
            }   
&lt;p&gt;        ]   &lt;br/&gt;
    }&lt;/p&gt;

&lt;p&gt;Attached is the karaf log extract, jolokia output&lt;/p&gt;</comment>
                            <comment id="50979" author="dhiraviam.natarajan@gmail.com" created="Thu, 12 Nov 2015 13:29:22 +0000"  >&lt;p&gt;Attachment inv-lacp.log has been added with description: Karaf output inventory-lacp multi-module shard karaf log extract for single node cluster&lt;/p&gt;</comment>
                            <comment id="50980" author="dhiraviam.natarajan@gmail.com" created="Thu, 12 Nov 2015 13:41:30 +0000"  >&lt;p&gt;Attachment JolokiaOutput.txt has been added with description: JolokiaOutput inventory-lacp multi-module shard Jolokia output for single node cluster&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="26920">CONTROLLER-1857</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="25472">CONTROLLER-918</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13537" name="JolokiaOutput.txt" size="2266" author="dhiraviam.natarajan@gmail.com" created="Thu, 12 Nov 2015 13:41:30 +0000"/>
                            <attachment id="13536" name="inv-lacp.log" size="8903" author="dhiraviam.natarajan@gmail.com" created="Thu, 12 Nov 2015 13:29:22 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4150</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=4150]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10308"><![CDATA[New Feature]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10349"><![CDATA[Unspecified]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10304"><![CDATA[Low]]></customfieldvalue>

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

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