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

DCP client with { or } in the name doesn't log DCP messages in memcached log

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.6.2, 7.0.0, 6.6.3, 7.0.2, 7.0.1
    • 7.1.0
    • couchbase-bucket
    • None
    • Triaged
    • 1
    • Unknown

    Description

      Observed that the kafka DCP connector connected, created a DCP producer and associated streams, yet none of this activity was logged.

      This occurs because the DCP name chosen includes "{" and "}" and that fails to log

      This is an issue for 6 and 7 but appears fixed in 7.1

      Attachments

        Issue Links

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

          Activity

            jwalker Jim Walker created issue -
            jwalker Jim Walker made changes -
            Field Original Value New Value
            Link This issue is caused by CBSE-10781 [ CBSE-10781 ]
            jwalker Jim Walker made changes -
            Assignee Daniel Owen [ owend ] Jim Walker [ jwalker ]
            jwalker Jim Walker made changes -
            Summary Kafka connector doesn't log expected DCP messages in memcached log DCP client with { or } in the name doesn't log DCP messages in memcached log
            jwalker Jim Walker made changes -
            Description Observed that the kafka DCP connector connected, created a DCP producer and associated streams, yet none of this activity was logged.

            The observed behaviour was very much as if it triggered the following FTS 'suppression' code that is present in 6.6.x

            https://github.com/couchbase/kv_engine/blob/v6.6.3/engines/ep/src/dcp/producer.cc#L211-L224

            * We do not see any {{logger->log}} messages
            * We do see some EP_LOG_WARN/EP_LOG_INFO messages (which are not subject to the suppression.

            Yet all observable information about the connection's DCP name suggests this clause should not have triggered.

            * From stats.log the producer's name does not contain {{eq_dcpq:fts}} which the code states is the search string (not copied the producer name here as it contains PII)


             
            Observed that the kafka DCP connector connected, created a DCP producer and associated streams, yet none of this activity was logged.

            This occurs because the DCP name chosen includes "{" and "}" and that fails to log

            This is an issue for 6 and 7 but appears fixed in 7.1
            jwalker Jim Walker made changes -
            Description Observed that the kafka DCP connector connected, created a DCP producer and associated streams, yet none of this activity was logged.

            This occurs because the DCP name chosen includes "{" and "}" and that fails to log

            This is an issue for 6 and 7 but appears fixed in 7.1
            Observed that the kafka DCP connector connected, created a DCP producer and associated streams, yet none of this activity was logged.

            This occurs because the DCP name chosen includes "\{" and "\}" and that fails to log

            This is an issue for 6 and 7 but appears fixed in 7.1
            jwalker Jim Walker made changes -
            Affects Version/s 7.0.1 [ 17104 ]
            Affects Version/s 7.0.0 [ 17233 ]
            Affects Version/s 6.6.2 [ 17103 ]
            Affects Version/s 7.0.2 [ 18012 ]
            tim.bradgate Tim Bradgate (Inactive) made changes -
            Link This issue causes KAFKAC-270 [ KAFKAC-270 ]
            drigby Dave Rigby made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            drigby Dave Rigby made changes -
            Fix Version/s Neo [ 17615 ]
            drigby Dave Rigby made changes -
            Triage Untriaged [ 10351 ] Triaged [ 10350 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            ritam.sharma Ritam Sharma made changes -
            Assignee Jim Walker [ jwalker ] Arunkumar Senthilnathan [ arunkumar ]
            owend Daniel Owen made changes -
            Link This issue is triggering CBSE-11257 [ CBSE-11257 ]
            owend Daniel Owen made changes -
            Link This issue relates to CBSE-11255 [ CBSE-11255 ]
            James Flather James Flather (Inactive) made changes -
            Link This issue blocks CBSE-10897 [ CBSE-10897 ]
            arunkumar Arunkumar Senthilnathan (Inactive) made changes -
            Assignee Arunkumar Senthilnathan [ arunkumar ] Praneeth Bokka [ praneeth.bokka ]
            praneeth.bokka Praneeth Bokka (Inactive) made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

              praneeth.bokka Praneeth Bokka (Inactive)
              jwalker Jim Walker
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty