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

[gocbcore.v8] Stream requests being turned down with "invalid packet" errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • Cheshire-Cat
    • fts
    • Untriaged
    • Unknown

    Description

      gocbcore's OpenStream(..) api is receiving the following error within it's OpenStreamCallback ..

      err: invalid argument | {"status_code":4,"bucket":"travel-sample","error_name":"EINVAL","error_description":"Invalid packet","opaque":14}

      Charles Dixon Would you be able to point out what's wrong with the parameters I'm using, the memdPacket built for the openStream request carries the following ..

      Magic: 0x80
      Opcode: 0x53
      Datatype: 0x0
      Status: 0x0
      Vbucket: 0x0
      Opaque: 0x0
      Cas: 0x0
      Key: nil
      Val: gocbcore.streamFilter{ManifestUID:"0", Collections:[]string{"0"}, Scope:"0", StreamID:0x0}
      Extras: 
          flags: 32
          startSeqNo: 0
          endSeqNo: 18446744073709551615
          vbUUID: 0
          snapStartSeqNo: 0
          snapEndSeqNo: 0

      On this connection initiation, I see the following messages within the memcached log ..

      2020-02-05T14:49:22.246907-08:00 INFO 51: DCP connection opened successfully. PRODUCER [ 127.0.0.1:65519 - 127.0.0.1:12000 (<ud>@fts</ud>) ]
      2020-02-05T14:49:22.248181-08:00 WARNING 51: Delay shutdown: refcount: 2 ewb: false pendingData: 0
      2020-02-05T14:49:22.248190-08:00 WARNING 51: Delay shutdown: refcount: 2 ewb: false pendingData: 0 

       

      Attachments

        Issue Links

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

          Activity

            People

              abhinav Abhi Dangeti
              abhinav Abhi Dangeti
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty