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

FTS: Server groups incorrect index partitions distribution

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • fts

    Description

      Build: 7.1.0-1064

      Having following cluster (see attached image):

      and FTS index having 12 partitions and 2 replicas, I expect to have 1 replica per server group.

      So, since index has 12 partitions, I expect to find 12 partitions in every server group.

      What I've found in fact is listed below:

      sg1:

      172.23.100.14

      "default:fts_idx:num_pindexes_actual": 4,
      "default:fts_idx:num_pindexes_target": 4,

      172.23.100.17

      "default:fts_idx:num_pindexes_actual": 5,
      "default:fts_idx:num_pindexes_target": 5,

      172.23.100.19

      "default:fts_idx:num_pindexes_actual": 4,
      "default:fts_idx:num_pindexes_target": 4,

      sg2:

      172.23.100.20

      "default:fts_idx:num_pindexes_actual": 5,
      "default:fts_idx:num_pindexes_target": 5,

      172.23.100.21

      "default:fts_idx:num_pindexes_actual": 4,
      "default:fts_idx:num_pindexes_target": 4,

      172.23.100.22

      "default:fts_idx:num_pindexes_actual": 3,
      "default:fts_idx:num_pindexes_target": 3,

      sg3:

      172.23.100.23

      "default:fts_idx:num_pindexes_actual": 3,
      "default:fts_idx:num_pindexes_target": 3,

      172.23.100.24

      "default:fts_idx:num_pindexes_actual": 4,
      "default:fts_idx:num_pindexes_target": 4,

      172.23.104.199

      "default:fts_idx:num_pindexes_actual": 4,
      "default:fts_idx:num_pindexes_target": 4,

       

      So,

      sg1 group has 13 partitions, which is incorrect

      sg2 group has 12 partition, which is correct

      sg3 group has 11 partitions, which is incorrect

      Attachments

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

        Activity

          People

            girish.benakappa Girish Benakappa
            evgeny.makarenko Evgeny Makarenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty