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

2i Index Upgrade : "Legacy Global Secondary" still shows up post upgrade after rebalance

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1.0, 5.5.0
    • 5.5.0
    • secondary-index
    • None

    Description

      On upgrading a single node cluster from 4.5.1 -> 5.1.0, the ForestDB indexes are upgraded to Plasma. Post performing a rebalance (with no nodes added/removed), the Index Storage Mode list on the UI Settings page still shows "Legacy Global Secondary" option. The indexes are upgraded to plasma and this has been verified from /getIndexStatus endpoint.

      If upgrading from 4.5.1 to 5.0.1 and following same steps as above, the option "Legacy Global Secondary" goes away post rebalance. Hence this is a regression.

      Logs attached.

      Attachments

        Issue Links

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

          Activity

            Verified on 5.5.0-2649

            mihir.kamdar Mihir Kamdar (Inactive) added a comment - Verified on 5.5.0-2649
            jliang John Liang added a comment - - edited

            Jeelan Poola, please work with Raju/Wayne/Merrick to get approval. Thanks.

            jliang John Liang added a comment - - edited Jeelan Poola , please work with Raju/Wayne/Merrick to get approval. Thanks.
            jeelan.poola Jeelan Poola added a comment -

            Mihir Kamdar I think it should be back ported.

            jeelan.poola Jeelan Poola added a comment - Mihir Kamdar I think it should be back ported.

            Jeelan Poola John Liang should this be backported to 5.1.1 ?

            mihir.kamdar Mihir Kamdar (Inactive) added a comment - Jeelan Poola John Liang should this be backported to 5.1.1 ?

            Build couchbase-server-5.5.0-1971 contains indexing commit 424521442ad8359206d34061d9e13b15b63c8522 with commit message:
            MB-28291: Use internal/settings for storage mode upgrade
            https://github.com/couchbase/indexing/commit/424521442ad8359206d34061d9e13b15b63c8522

            build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.0-1971 contains indexing commit 424521442ad8359206d34061d9e13b15b63c8522 with commit message: MB-28291 : Use internal/settings for storage mode upgrade https://github.com/couchbase/indexing/commit/424521442ad8359206d34061d9e13b15b63c8522

            Build couchbase-server-5.5.0-1971 contains indexing commit 8c30c99bd95b1442c703f0748336b3ffbf9b0367 with commit message:
            MB-28291: Fix broken Offline upgrade from forestdb to plasma
            https://github.com/couchbase/indexing/commit/8c30c99bd95b1442c703f0748336b3ffbf9b0367

            build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.0-1971 contains indexing commit 8c30c99bd95b1442c703f0748336b3ffbf9b0367 with commit message: MB-28291 : Fix broken Offline upgrade from forestdb to plasma https://github.com/couchbase/indexing/commit/8c30c99bd95b1442c703f0748336b3ffbf9b0367
            jliang John Liang added a comment -

            2018-02-21T02:41:29.502-08:00 [Error] Fail to change setting. Error: Storage mode is already set to forestdb
            2018-02-21T02:41:29.502-08:00 [Error] DDLServiceMgr:handleClusterStorageMode(). HTTP status (400 Bad Request) when try to change setting. Retry with another indexer node.
            2018-02-21T02:41:29.502-08:00 [Error] DDLServiceMgr: unable to change storage mode to plasma after rebalance.

            jliang John Liang added a comment - 2018-02-21T02:41:29.502-08:00 [Error] Fail to change setting. Error: Storage mode is already set to forestdb 2018-02-21T02:41:29.502-08:00 [Error] DDLServiceMgr:handleClusterStorageMode(). HTTP status (400 Bad Request) when try to change setting. Retry with another indexer node. 2018-02-21T02:41:29.502-08:00 [Error] DDLServiceMgr: unable to change storage mode to plasma after rebalance.

            People

              mihir.kamdar Mihir Kamdar (Inactive)
              mihir.kamdar Mihir Kamdar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty