Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      A new “modifyCollection” API will be introduced to:

      1. Turn on/off collectionApiMode (see SOLR-5096)
      2. Modify values of maxShardsPerNode for the collection
      3. Modify value of replicationFactor for entire collection (apply to each and every slice)
      4. Modify values of replicationFactor on a per-slice basis
      5. Modify rules
        #Modify Snitch
      1. SOLR-5132.patch
        33 kB
        Noble Paul
      2. SOLR-5132.patch
        32 kB
        Noble Paul
      3. SOLR-5132.patch
        10 kB
        Shalin Shekhar Mangar

        Issue Links

          Activity

          Hide
          Shalin Shekhar Mangar added a comment -

          I also think that this API should be action-oriented rather than being just a write API to ZooKeeper. For example, if the collection's configName is modified then it should automatically invoke reload on the collection.

          Show
          Shalin Shekhar Mangar added a comment - I also think that this API should be action-oriented rather than being just a write API to ZooKeeper. For example, if the collection's configName is modified then it should automatically invoke reload on the collection.
          Hide
          Noble Paul added a comment - - edited

          The collection API mode issue will be redundant with the Zk as truth feature which is applied cluster-wide (legacyCloud=false)

          Show
          Noble Paul added a comment - - edited The collection API mode issue will be redundant with the Zk as truth feature which is applied cluster-wide (legacyCloud=false)
          Hide
          Shalin Shekhar Mangar added a comment -

          I added a 'modify' collection API.

          Example:
          /admin/collections?action=MODIFY&name=collection1&replicationFactor=2&maxShardsPerNode=4&shard.shard2.replicationFactor=5

          I'm working on adding a test.

          Show
          Shalin Shekhar Mangar added a comment - I added a 'modify' collection API. Example: /admin/collections?action=MODIFY&name=collection1&replicationFactor=2&maxShardsPerNode=4&shard.shard2.replicationFactor=5 I'm working on adding a test.
          Hide
          Uwe Schindler added a comment -

          Move issue to Solr 4.9.

          Show
          Uwe Schindler added a comment - Move issue to Solr 4.9.
          Hide
          ASF subversion and git services added a comment -

          Commit 1680052 from Noble Paul in branch 'dev/trunk'
          [ https://svn.apache.org/r1680052 ]

          SOLR-5132: Added a new collection action MODIFYCOLLECTION

          Show
          ASF subversion and git services added a comment - Commit 1680052 from Noble Paul in branch 'dev/trunk' [ https://svn.apache.org/r1680052 ] SOLR-5132 : Added a new collection action MODIFYCOLLECTION
          Hide
          ASF subversion and git services added a comment -

          Commit 1680251 from Noble Paul in branch 'dev/branches/branch_5x'
          [ https://svn.apache.org/r1680251 ]

          SOLR-5132: Added a new collection action MODIFYCOLLECTION

          Show
          ASF subversion and git services added a comment - Commit 1680251 from Noble Paul in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1680251 ] SOLR-5132 : Added a new collection action MODIFYCOLLECTION
          Hide
          Anshum Gupta added a comment -

          Bulk close for 5.2.0.

          Show
          Anshum Gupta added a comment - Bulk close for 5.2.0.

            People

            • Assignee:
              Noble Paul
              Reporter:
              Shalin Shekhar Mangar
            • Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development