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

BP [MB-43833] - Statements hang during stats recording

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      Transaction performance run  hangs forever.

      Statements are timeout and left in active requests. So client will never got response due to that performance test hangs.

      Seen the following stack. Next time hang will collect complete goroutine and active_requetsts and attach. Also can be reproduced and take look on live system.

       

      goroutine 16483619 [sync.Cond.Wait, 5 minutes]:
      runtime.goparkunlock(...)
              /home/couchbase/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/runtime/proc.go:310
      sync.runtime_notifyListWait(0xc03d923360, 0xc000000000)
              /home/couchbase/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/runtime/sema.go:510 +0xf8
      sync.(*Cond).Wait(0xc03d923350)
              /home/couchbase/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/sync/cond.go:56 +0x9d
      github.com/couchbase/query/execution.(*base).baseDone(0xc03d923180)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/execution/base.go:316 +0x247
      github.com/couchbase/query/execution.(*Authorize).Done(0xc03d923180)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/execution/authorize.go:154 +0x31
      github.com/couchbase/query/server.(*BaseRequest).CompleteRequest(0xc002930000, 0x6af88664, 0x6af81172, 0xcf16efe8, 0x0, 0x0, 0x2, 0xc005393f00, 0xc00059a780)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/server/request.go:1066 +0x132
      github.com/couchbase/query/server/http.(*HttpEndpoint).doStats(0xc00049e6e0, 0xc002930000, 0xc00059a780)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/server/http/service_endpoint.go:428 +0x221
      

      Attachments

        Issue Links

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

          Activity

            People

              mihir.kamdar Mihir Kamdar (Inactive)
              bingjie.miao Bingjie Miao
              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