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

[UI] Replica_num_items are reported as zero after incremental upgrade from 6.0.0

    XMLWordPrintable

Details

    Description

      Build: 7.0.0-4502-enterprise

      Steps:

      • 4 node cluster all KV nodes (6.0.0-1693)
      • Load 50K docs into the couchbase bucket(replica=1)
      • Upgrade all nodes 7.0.0-4502 build in incremental manner

      Observation:

      Each upgraded 7.0.0-4502 node shows num_replica_item count as zero on UI

      But rest stats reports current replica_item_count value. (rest_bucket_stat.txt)

           "interestingStats": {
              "couch_docs_actual_disk_size": 11031190,
              "couch_views_actual_disk_size": 0,
              "curr_items": 14999,
              "curr_items_tot": 29997,
              "ep_bg_fetched": 0,
              "couch_docs_data_size": 6951667,
              "mem_used": 25078136,
              "cmd_get": 0,
              "get_hits": 0,
              "ops": 0,
              "vb_replica_curr_items": 0,
              "couch_spatial_disk_size": 0,
              "couch_views_data_size": 0,
              "couch_spatial_data_size": 0,
              "vb_active_num_non_resident": 0
            },

       

      Test run log:  http://qa.sc.couchbase.com/job/temp_centos7_4node_jython/1690/console

      Note: Marking this as regression since the same scenario works fine on 7.0.0 build 4476

      TAF testcase:

      upgrade.durability_upgrade.UpgradeTests:
          test_upgrade,nodes_init=4,replicas=1,update_nodes=kv,num_items=50000,upgrade_type=online_swap,initial_version=6.0.0-1693,skip_buckets_handle=True,durability=MAJORITY,upgrade_version=7.0.0-4476

      Attachments

        For Gerrit Dashboard: MB-44588
        # Subject Branch Project Status CR V

        Activity

          UI sets vb_replica_curr_items as it is.

          pavel Pavel Blagodov added a comment - UI sets vb_replica_curr_items as it is.

          Bug should be fixed.

          steve.watanabe Steve Watanabe added a comment - Bug should be fixed.

          Build couchbase-server-7.0.0-4573 contains ns_server commit a2a38cc with commit message:
          MB-44588 Use correct stat mappings

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4573 contains ns_server commit a2a38cc with commit message: MB-44588 Use correct stat mappings

          Build couchbase-server-7.0.0-4603 contains ns_server commit a2a38cc with commit message:
          MB-44588 Use correct stat mappings

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4603 contains ns_server commit a2a38cc with commit message: MB-44588 Use correct stat mappings

          Replica count populated properly. Verified using 7.0.0-4617.

          Closing the ticket.

          +----------------+----------+-------+-------------------+-----------------------+
          | Node           | Services |  CPU  | Active / Replica  | Version               |
          +----------------+----------+-------+-------------------+-----------------------+
          | 172.23.105.212 | kv       | 71.57 | 12501 / 12535     | 6.0.0-1693-enterprise |
          | 172.23.105.244 | kv       | 34.94 | 12499 / 12458     | 7.0.0-4617-enterprise |
          | 172.23.105.155 | kv       | 67.63 | 12501 / 12459     | 7.0.0-4617-enterprise |
          | 172.23.105.213 | kv       | 55.32 | 12499 / 12548     | 6.0.0-1693-enterprise |
          +----------------+----------+-------+-------------------+-----------------------+

          ashwin.govindarajulu Ashwin Govindarajulu added a comment - Replica count populated properly. Verified using 7.0.0-4617. Closing the ticket. +----------------+----------+-------+-------------------+-----------------------+ | Node | Services | CPU | Active / Replica | Version | +----------------+----------+-------+-------------------+-----------------------+ | 172.23.105.212 | kv | 71.57 | 12501 / 12535 | 6.0.0-1693-enterprise | | 172.23.105.244 | kv | 34.94 | 12499 / 12458 | 7.0.0-4617-enterprise | | 172.23.105.155 | kv | 67.63 | 12501 / 12459 | 7.0.0-4617-enterprise | | 172.23.105.213 | kv | 55.32 | 12499 / 12548 | 6.0.0-1693-enterprise | +----------------+----------+-------+-------------------+-----------------------+

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty