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

listReplicaCount is taking more than 10Sec and timing out

    XMLWordPrintable

Details

    • 1

    Description

      We see that listReplicaCount gets timed out as below
      2020-10-08T15:20:31.868+00:00 [Verbose] GetWithAuth: <url to get listReplicaCount> elapsed 10.000339766s
      2020-10-08T15:20:31.868+00:00 [Error] Planner::getIndexNumReplica: Error from reading index num replica for node <removed>. Error = Get <url to get listReplicaCount> net/http: request canceled (Client.Timeout exceeded while awaiting headers)

      This call is made by Index Planner to get optimal load distribution.
      Tried reproducing this issue locally and looks like the http calls to MetaKv to check for DDL tokens is causing this delay.

      Attachments

        Issue Links

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

          Activity

            People

              sai.teja Sai Krishna Teja
              sai.teja Sai Krishna Teja
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty