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

[Backport MB-39067 to 6.0.5] Index creation may fail in case of one or more watchers are not available

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      On GSI client, if WatchMetadata doesn't succeed for a subset of indexer nodes, the prepare create request and commit request will be sent only to the available watchers. But the planner considers all available indexer nodes for planning. If planner decides to put the index on the node for which watcher was not available, the index creation may fail.

      Attachments

        Issue Links

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

          Activity

            amit.kulkarni Amit Kulkarni created issue -
            amit.kulkarni Amit Kulkarni made changes -
            Field Original Value New Value
            Link This issue Clones MB-39067 [ MB-39067 ]
            amit.kulkarni Amit Kulkarni made changes -
            Fix Version/s 6.0.5 [ 16729 ]
            Fix Version/s 6.5.0 [ 15037 ]
            wayne Wayne Siu made changes -
            Link This issue is a backport of MB-39067 [ MB-39067 ]
            wayne Wayne Siu made changes -
            Link This issue Clones MB-39067 [ MB-39067 ]
            wayne Wayne Siu made changes -
            Link This issue relates to CBSE-8204 [ CBSE-8204 ]
            wayne Wayne Siu made changes -
            Link This issue blocks MB-40511 [ MB-40511 ]
            wayne Wayne Siu made changes -
            Labels approved-for-6.0.5

            QE Testing:

            1. Setup a cluster n1: kv, n1ql, index AND n2: index
            2. Rebalance.
            3. Create 1 index on node n1.
            4. Drop all incoming packets for n2:9100.
            5. Restart cbq-engine node on n1.
            6. Create an index.

            Before fix: Planner considers both nodes n1 and n2 for placement.
            After fix: Planner considers only n1 for placement as n2 is not reachable at the time.

            amit.kulkarni Amit Kulkarni added a comment - QE Testing: 1. Setup a cluster n1: kv, n1ql, index AND n2: index 2. Rebalance. 3. Create 1 index on node n1. 4. Drop all incoming packets for n2:9100. 5. Restart cbq-engine node on n1. 6. Create an index. Before fix: Planner considers both nodes n1 and n2 for placement. After fix: Planner considers only n1 for placement as n2 is not reachable at the time.
            amit.kulkarni Amit Kulkarni made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]

            Build couchbase-server-6.0.5-3327 contains indexing commit d3dbc8e with commit message:
            MB-40410: Fix index creation if one of the indexer nodes is not connected

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.5-3327 contains indexing commit d3dbc8e with commit message: MB-40410 : Fix index creation if one of the indexer nodes is not connected

            Verified on 6.0.5-3332 with the above given steps.

            mihir.kamdar Mihir Kamdar (Inactive) added a comment - Verified on 6.0.5-3332 with the above given steps.
            mihir.kamdar Mihir Kamdar (Inactive) made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            arunkumar Arunkumar Senthilnathan made changes -
            Labels approved-for-6.0.5 approved-for-6.0.5 releasenote

            People

              amit.kulkarni Amit Kulkarni
              amit.kulkarni Amit Kulkarni
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty