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

If Fail Over is in progress and node goes offline, UI looks/acts strangely

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-developer-preview-3, 2.0-developer-preview-4
    • Fix Version/s: 2.0-beta
    • Component/s: ns_server, UI
    • Security Level: Public
    • Labels:

      Description

      It seems the JS for this section is prioritizing the fact that the node was going to be failed over above the fact that the node is no longer available.

      I'm not sure what the server-side logic relationship is in this situation, but hopefully it's just a matter of re-prioritizing some conditions in the UI JS.

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

        Activity

        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        I need more details

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - I need more details
        Hide
        BigBlueHat Benjamin Young added a comment -

        ./cluster_run -n 2 --host=127.0.0.1
        ./cluster_connect -n 2

        Then, in the UI, click "Fail Over" for one of the nodes.

        Then Ctrl+C your ./cluster_run process, and restart it with
        ./cluster_run -n 1 --host=127.0.0.1

        Reload the Server List screen.

        I'll upload screenshots shortly.

        Show
        BigBlueHat Benjamin Young added a comment - ./cluster_run -n 2 --host=127.0.0.1 ./cluster_connect -n 2 Then, in the UI, click "Fail Over" for one of the nodes. Then Ctrl+C your ./cluster_run process, and restart it with ./cluster_run -n 1 --host=127.0.0.1 Reload the Server List screen. I'll upload screenshots shortly.
        Hide
        BigBlueHat Benjamin Young added a comment -

        Active Servers list with the node marked for "Fail Over" after it's been taken "forcably" offline prior to rebalancing.

        Show
        BigBlueHat Benjamin Young added a comment - Active Servers list with the node marked for "Fail Over" after it's been taken "forcably" offline prior to rebalancing.
        Hide
        BigBlueHat Benjamin Young added a comment -

        Pending Rebalance scenario.

        Show
        BigBlueHat Benjamin Young added a comment - Pending Rebalance scenario.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        so weird thing is NaN? I don't see anything else there

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - so weird thing is NaN? I don't see anything else there
        Hide
        BigBlueHat Benjamin Young added a comment -

        The servers down, not pending. The host name is missing from the Pending Rebalance list.

        Show
        BigBlueHat Benjamin Young added a comment - The servers down, not pending. The host name is missing from the Pending Rebalance list.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        so two bugs. First that pending is somehow used. We have ongoing work to untangle node's health and it's warmup status.

        Second is that name is missing in second tab. Thanks for finding it.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - so two bugs. First that pending is somehow used. We have ongoing work to untangle node's health and it's warmup status. Second is that name is missing in second tab. Thanks for finding it.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        May be partly fixed already

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - May be partly fixed already
        Show
        pavel Pavel Blagodov added a comment - http://review.couchbase.org/20298
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-ns-server-2-0 #461 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/461/)
        MB-4756: fixed server down state (Revision 5ec376241ca924ccc8d45b214c50d9daf64901bb)

        Result = SUCCESS
        pwansch :
        Files :

        • priv/public/js/core-data.js
        • priv/public/index.html
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-ns-server-2-0 #461 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/461/ ) MB-4756 : fixed server down state (Revision 5ec376241ca924ccc8d45b214c50d9daf64901bb) Result = SUCCESS pwansch : Files : priv/public/js/core-data.js priv/public/index.html

          People

          • Assignee:
            pavel Pavel Blagodov
            Reporter:
            BigBlueHat Benjamin Young
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes