Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-6423

Allow users to set index_path post upgrade to 2.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta
    • Fix Version/s: 2.0
    • Component/s: ns_server
    • Security Level: Public
    • Labels:
    • Environment:
      1639

      Description

      Use case:-
      1) Users upgrade to 20 from 181
      2) They decide to separate out partition for indexes. Currently there is no way to configure just index_path without wiping out data_path or reconfiguring the cluster.
      Currently, issuing the data_path command will wipe out the database files.

      One can configure the data path
      curl -d path=/var/tmp/test http://localhost:8091/nodes/self/controller/settings

      This does not seem to work...
      curl -d index_path=/data2 http://localhost:8091/nodes/self/controller/settings

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        karan Karan Kumar (Inactive) created issue -
        karan Karan Kumar (Inactive) made changes -
        Field Original Value New Value
        Summary Unable to configure index_path using REST No separate api to just configure index_path using REST
        karan Karan Kumar (Inactive) made changes -
        Assignee Aleksey Kondratenko [ alkondratenko ] Dipti Borkar [ dipti ]
        karan Karan Kumar (Inactive) made changes -
        Labels system-test
        karan Karan Kumar (Inactive) made changes -
        Summary No separate api to just configure index_path using REST Allow users to set index_path post upgrade to 2.0
        Assignee Dipti Borkar [ dipti ] Aleksey Kondratenko [ alkondratenko ]
        Description One can configure the data path
        curl -d path=/var/tmp/test http://localhost:8091/nodes/self/controller/settings

        This does not seem to work...
        curl -d index_path=/data2 http://localhost:8091/nodes/self/controller/settings
        Use case:-
        1) Users upgrade to 20 from 181
        2) They decide to separate out partition for indexes. Currently there is no way to configure just index_path without wiping out data_path or reconfiguring the cluster.
         Currently, issuing the data_path command will wipe out the database files.



        One can configure the data path
        curl -d path=/var/tmp/test http://localhost:8091/nodes/self/controller/settings

        This does not seem to work...
        curl -d index_path=/data2 http://localhost:8091/nodes/self/controller/settings
        farshid Farshid Ghods (Inactive) made changes -
        Assignee Aleksey Kondratenko [ alkondratenko ] Karan Kumar [ karan ]
        karan Karan Kumar (Inactive) made changes -
        Assignee Karan Kumar [ karan ] Aleksey Kondratenko [ alkondratenko ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Assignee Aleksey Kondratenko [ alkondratenko ] Aliaksey Artamonau [ aliaksey artamonau ]
        farshid Farshid Ghods (Inactive) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        farshid Farshid Ghods (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Aliaksey Artamonau Aliaksey Artamonau
            Reporter:
            karan Karan Kumar (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes