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

[BP MB-45400 to 6.6.3] - Self-deadlock on statsMutex during /getIndexStatus

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      There is a possible deadlock in request_handler getStatsFromCache.

      1 @ 0x4035df0 0x4046290 0x404627b 0x4045ff7 0x4082ad8 0x4820c6d 0x48344e0 0x4823f56 0x4820722 0x42e1434 0x42e330d 0x42e4884 0x42e0225 0x4063c01
      #       0x4045ff6       sync.runtime_SemacquireMutex+0x46                                                                       /Users/amithk/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/runtime/sema.go:71
      #       0x4082ad7       sync.(*RWMutex).Lock+0x87                                                                               /Users/amithk/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/sync/rwmutex.go:103
      #       0x4820c6c       github.com/couchbase/indexing/secondary/manager.(*requestHandlerContext).memCacheStats+0x3c             /Users/amithk/workdir7/goproj/src/github.com/couchbase/indexing/secondary/manager/request_handler.go:579
      #       0x48344df       github.com/couchbase/indexing/secondary/manager.(*requestHandlerContext).getStatsFromCache+0x59f        /Users/amithk/workdir7/goproj/src/github.com/couchbase/indexing/secondary/manager/request_handler.go:2833
      #       0x4823f55       github.com/couchbase/indexing/secondary/manager.(*requestHandlerContext).getIndexStatus+0x2a05          /Users/amithk/workdir7/goproj/src/github.com/couchbase/indexing/secondary/manager/request_handler.go:732
      #       0x4820721       github.com/couchbase/indexing/secondary/manager.(*requestHandlerContext).handleIndexStatusRequest+0x461 /Users/amithk/workdir7/goproj/src/github.com/couchbase/indexing/secondary/manager/request_handler.go:528
      #       0x42e1433       net/http.HandlerFunc.ServeHTTP+0x43                                                                     /Users/amithk/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/net/http/server.go:2007
      #       0x42e330c       net/http.(*ServeMux).ServeHTTP+0x1bc                                                                    /Users/amithk/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/net/http/server.go:2387
      #       0x42e4883       net/http.serverHandler.ServeHTTP+0xa3                                                                   /Users/amithk/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/net/http/server.go:2802
      #       0x42e0224       net/http.(*conn).serve+0x874
      

      Attachments

        Issue Links

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

          Activity

            People

              kevin.cherkauer Kevin Cherkauer (Inactive)
              kevin.cherkauer Kevin Cherkauer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty