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

[BP to 7.1.6-MP1 & 7.2.3-MP1][N1QL]stopping advisor session throws a panic

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.7
    • 7.2.4
    • query
    • 7.2.4-6915
    • Untriaged
    • 0
    • Unknown

    Description

      load travel sample
      update statistics for `travel-sample`(type)
      SELECT ADVISOR(

      {'action':'start', 'duration':'40m'}

      )
      SELECT airportname FROM `travel-sample` WHERE type = "airport" AND lower(city) = "lyon" AND country = "France"
      SELECT ADVISOR(

      {'action':'stop', 'session':'b9214d93-73ca-4f0e-8bb4-fec52e6e31fb'}

      ) as Stop

      the above stop panics

      2023-11-03T14:06:35.910-07:00 [SEVERE] panic: interface conversion: *execution.Context is not query_ee.Context: missing method Park
      panic(

      {0x275e340?, 0xc00096fe90?})
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.21.3/go/src/runtime/panic.go:914 +0x21f
      panic({0x275e340?, 0xc00096fe90?}

      )
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.21.3/go/src/runtime/panic.go:914 +0x21f
      panic(

      {0x275e340?, 0xc00096fe90?})
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.21.3/go/src/runtime/panic.go:914 +0x21f
      panic({0x275e340?, 0xc00096fe90?}

      )
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.21.3/go/src/runtime/panic.go:914 +0x21f
      [root@s71917-cnt7 logs]# grep "panic" query.log
      2023-11-03T14:06:35.910-07:00 [SEVERE] panic: interface conversion: *execution.Context is not query_ee.Context: missing method Park
      panic(

      {0x275e340?, 0xc00096fe90?})
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.21.3/go/src/runtime/panic.go:914 +0x21f
      panic({0x275e340?, 0xc00096fe90?}

      )
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.21.3/go/src/runtime/panic.go:914 +0x21f
      panic(

      {0x275e340?, 0xc00096fe90?})
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.21.3/go/src/runtime/panic.go:914 +0x21f
      panic({0x275e340?, 0xc00096fe90?}

      )
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.21.3/go/src/runtime/panic.go:914 +0x21f

      seems similar/same as MB-48258

      we also did not see the repro working in 6933, possibly this has already been fixed, but don't want to take any chances

      logs attached

      Attachments

        Issue Links

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

          Activity

            People

              ajay.bhullar Ajay Bhullar
              ajay.bhullar Ajay Bhullar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty