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

TotCopyPartitionRetries not updated even when File Transfer has been retried

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.2
    • 7.0.2
    • fts
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      Build: 7.0.2 build 6531

      Test Steps:
      Have 4 node cluster with kv, fts, fts, fts
      Have an index with 20 partitions
      Load 120000 docs, in parallel rebalance 2 fts nodes

      Seeing below for one of the partitions:

      2021-08-23T08:47:50.842-07:00 [INFO] pindex_bleve_copy: pindex: default_index_5c19770ebb770672_04886d3f, CopyPartition started
      2021-08-23T08:47:50.870-07:00 [INFO] pindex_copy_request: pindex: http://%40fts-cbauth:e4f59de80d06e6c2a7aba9fda7407c00@172.23.96.141:8094/api/stats?partitions=true found on node: default_index_5c19770ebb770672_04886d3f
      2021-08-23T08:47:50.924-07:00 [INFO] partition_content_receiver: copyPartitionUtil retrying pindex: default_index_5c19770ebb770672_04886d3f on checksum errors
      2021-08-23T08:47:52.924-07:00 [INFO] partition_content_receiver: copyPartitionUtil, retrying after a back off period: 2000.000000 ms for pindex: default_index_5c19770ebb770672_04886d3f, on err: <nil>
      2021-08-23T08:47:52.970-07:00 [INFO] pindex_bleve_copy: pindex: default_index_5c19770ebb770672_04886d3f, CopyPartition finished, took: 2.127916478s
      

      But looks at the stats, TotCopyPartitionRetries for default_index_5c19770ebb770672_04886d3f has not been updated to 1.

          "default_index_5c19770ebb770672_04886d3f": {
              "TotCopyPartitionStart": 1,
              "TotCopyPartitionFinished": 1,
              "TotCopyPartitionFailed": 0,
              "TotCopyPartitionRetries": 0,
      

      Logs:

      https://cb-jira.s3.us-east-2.amazonaws.com/logs/test/collectinfo-2021-08-23T160101-ns_1%40172.23.97.211.zip
      https://cb-jira.s3.us-east-2.amazonaws.com/logs/test/collectinfo-2021-08-23T160101-ns_1%40172.23.97.212.zip

      Attachments

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

        Activity

          People

            girish.benakappa Girish Benakappa
            girish.benakappa Girish Benakappa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty