Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3351

Add insert error count metrics in WriteResponsePB

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.17.0
    • None
    • None

    Description

      KUDU-1563 adds support for INSERT_IGNORE, UPDATE_IGNORE, and DELETE_IGNORE.
      However, it is currently lack of per-session metrics about how many rows get ignored vs modified.

      In regular INSERT operation, we depends on per_row_errors field in WriteResponsePB to count how many row operations are failed.
      https://github.com/apache/kudu/blob/0cb2b7c/src/kudu/tserver/tserver.proto#L175-L183 
      But with INSERT_IGNORE, this field will be empty. We should add relevant metrics field to this WriteResponsePB.

      Attachments

        Issue Links

          Activity

            People

              rizaon Riza Suminto
              rizaon Riza Suminto
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: