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

race condition for retrieving recovery points

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      Seeing the following panic in CI.

      http://ci2i-unstable.northscale.in/gsi-10.09.2019-22.55.fail.html

      panic: runtime error: slice bounds out of range

      goroutine 117 [running]:
      panic(0xf896c0, 0xc420018160)
      /home/buildbot/.cbdepscache/exploded/x86_64/go-1.7.6/go/src/runtime/panic.go:500 +0x1a1
      github.com/couchbase/indexing/secondary/indexer.(*plasmaSlice).GetSnapshots(0xc426238500, 0x4181b3, 0xc420019158, 0xc423a29ee0, 0x6a2266, 0x1b897f0)
      goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:1372 +0xd24
      github.com/couchbase/indexing/secondary/indexer.(*plasmaSlice).doRecovery(0xc426238500, 0x62, 0xc423a2a1e0)
      goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:429 +0x2f
      github.com/couchbase/indexing/secondary/indexer.(*plasmaSlice).initStores(0xc426238500, 0xf34bc0, 0xc42019ee20)
      goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:382 +0x2794
      github.com/couchbase/indexing/secondary/indexer.newPlasmaSlice(0xc423913d40, 0x5b, 0x0, 0x6a3f58b979ae1950, 0xc423698160, 0x10, 0xc423698170, 0x6, 0xc423698176, 0x7, ...)
      goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:212 +0xd72
      github.com/couchbase/indexing/secondary/indexer.NewPlasmaSlice(0xc423913d40, 0x5b, 0x0, 0x6a3f58b979ae1950, 0xc423698160, 0x10, 0xc423698170, 0x6, 0xc423698176, 0x7, ...)
      goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_enterprise.go:27 +0xec
      github.com/couchbase/indexing/secondary/indexer.NewSlice(0x0, 0xc423a2c7b0, 0xc423a2c480, 0xc420139050, 0xc42009c680, 0x1b27c00, 0xc4222d4a00, 0x0, 0x0)
      goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:6879 +0x6ed
      github.com/couchbase/indexing/secondary/indexer.(*indexer).initPartnInstance(0xc420078300, 0x5cd2773ec79915df, 0x6a3f58b979ae1950, 0xc423698160, 0x10, 0xc423698170, 0x6, 0xc423698176, 0x7, 0xc42366e360, ...)
      goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:3994 +0x324
      github.com/couchbase/indexing/secondary/indexer.(*indexer).initFromPersistedState(0xc420078300, 0xc420070000, 0xc42007b0e0)
      goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:5661 +0x524
      github.com/couchbase/indexing/secondary/indexer.(*indexer).bootstrap1.func1(0xc420078300, 0xc420073aa0, 0x0)
      goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:5238 +0x336
      created by github.com/couchbase/indexing/secondary/indexer.(*indexer).bootstrap1
      goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:5245 +0x474

      Attachments

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

        Activity

          People

            varun.velamuri Varun Velamuri
            jliang John Liang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty