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

[CX] Consider improving reporting of failures to process documents on filter stage

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.1.0
    • analytics
    • 1
    • CX Sprint 260, CX Sprint 261, CX Sprint 262, CX Sprint 263, CX Sprint 264, CX Sprint 265, CX Sprint 266, CX Sprint 267

    Description

      Currently, when creating a shadow dataset with a filter (WHERE ....), if a failure takes place, it gets logged to the WARN logs, and is not reported by the prometheus metrics under the "cbas_failed_to_parse_records_count" metric.

       

      However, the failure is logged properly in the dcp_ingestion_failure logs and can be queried using the dcp_ingestion_failure_report() function.

       

      Example:

      2021-08-18T19:04:37.817+03:00 WARN CBAS.runtime.ShadowStreamSelectRuntimeFactory [SA:JID:0.5:TAID:TID:ANID:ODID:1:0:2:0:0] failed to process document with key <ud>aa</ud> on analytics collection Default.myCollection due to Type mismatch: function get-item expects its 1st input parameter to be of type array or multiset, but the actual input type is string (in line 1, at column 8)
       
      2021-08-18T19:04:37.819+03:00 WARN CBAS.runtime.ShadowStreamSelectRuntimeFactory [SA:JID:0.5:TAID:TID:ANID:ODID:1:0:1:0:0] failed to process document with key <ud>a</ud> on analytics collection Default.myCollection due to Type mismatch: function get-item expects its 1st input parameter to be of type array or multiset, but the actual input type is string (in line 1, at column 8)
       
      2021-08-18T19:04:37.840+03:00 WARN CBAS.runtime.ShadowStreamSelectRuntimeFactory [SA:JID:0.5:TAID:TID:ANID:ODID:1:0:2:0:0] failed to process document with key <ud>aaa</ud> on analytics collection Default.myCollection due to Type mismatch: function get-item expects its 1st input parameter to be of type array or multiset, but the actual input type is string (in line 1, at column 8) 

      Attachments

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

        Activity

          People

            Hussain.Towaileb Hussain Towaileb
            Hussain.Towaileb Hussain Towaileb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty