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

FTS: Server groups incorrect index partitions distribution

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.2
    • Cheshire-Cat
    • fts

    Description

      Build: 7.0.0-a 5127

      • Create the following cluster:

      sg1: {kv}, {fts}, {fts}, {fts}
      sg2: {kv}, {fts}, {fts}, {fts}
      sg3: {kv}, {fts}, {fts}, {fts}

      • Create bucket `default`, load 1000 docs having the same `type` field value
      • Create fts index, everything is default, replicas: 2, partitions: 12 

      Expected  index partitions distribution through server groups is: 12 partitions per server group.

      Found distribution is: 

      sg1: 13 partitions

      sg2: 10 partitions

      sg3: 13 partitions.

      This distribution can lead to incorrect search results:

      • shutdown couchbase service on all fts nodes from sg1 and sg3 to simulate 2 racks shutdown
      • failover all unreachable fts nodes
      • run fts query that should return 1000 docs normally against fts nodes from sg2
      • you'll find less than 1000 results

      Current cluster layout is here:

      Attachments

        1. 172.23.104.98.json
          22 kB
        2. 172.23.105.192.json
          22 kB
        3. 172.23.105.232.json
          22 kB
        4. 172.23.105.42.json
          22 kB
        5. 172.23.105.44.json
          22 kB
        6. 172.23.105.46.json
          22 kB
        7. 172.23.105.47.json
          22 kB
        8. 172.23.105.49.json
          22 kB
        9. 172.23.108.211.json
          22 kB
        10. 172.23.121.91.json
          22 kB
        11. 172.23.121.93.json
          22 kB
        12. 172.23.98.13.json
          22 kB
        13. collectinfo-2021-06-11T083514-ns_1@172.23.108.211.zip
          31.39 MB
        14. Screen Shot 2021-05-27 at 3.29.02 PM.png
          Screen Shot 2021-05-27 at 3.29.02 PM.png
          96 kB
        15. Screen Shot 2021-06-11 at 2.09.24 PM.png
          Screen Shot 2021-06-11 at 2.09.24 PM.png
          94 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            evgeny.makarenko Evgeny Makarenko (Inactive)
            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