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

7.1.2 [BP MB-52112 ] Race condition between stop signal and timeout

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      Seen in the field

      panic: sync: WaitGroup is reused before previous Wait has returned

      goroutine 7204380411 [running]:
      sync.(*WaitGroup).Wait(0xc08734dc68)
              /home/couchbase/.cbdepscache/exploded/x86_64/go-1.11.4/go/src/sync/waitgroup.go:132 +0xad
      github.com/couchbase/query/server.(*BaseRequest).Stop(0xc08734d800, 0x6)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/server/request.go:785 +0x75
      github.com/couchbase/query/server/http.(*httpRequest).Expire(0xc08734d800, 0x6, 0x1176592e00)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/server/http/service_response.go:165 +0x51
      github.com/couchbase/query/server.(*Server).serviceRequest.func2()
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/server/server.go:744 +0x40
      created by time.goFunc
              /home/couchbase/.cbdepscache/exploded/x86_64/go-1.11.4/go/src/time/sleep.go:172 +0x44
      

      Timeout is trying to send a stop while either stop or done are already waiting.

      Attachments

        Issue Links

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

          Activity

            People

              marco.greco Marco Greco (Inactive)
              kamini.jagtiani Kamini Jagtiani
              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