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

error statuses from C++ client should be more informative

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Public beta
    • Fix Version/s: 0.7.0
    • Component/s: client
    • Labels:
      None

      Description

      We recently had an issue where a server had crossed over its hard memory limit and was rejecting all writes. The client side just reported:

      Timed out: Failed to write batch of 178 ops to tablet 6ed6f430747f4ad3a958c7d80705ecf4 on tablet server c2d7dc621e834978be3d760339fcf310 (xxxx:7050) after 343 attempt(s): Write(tablet: 6ed6f430747f4ad3a958c7d80705ecf4, num_ops: 178, num_attempts: 343) passed its deadline after 343 attempts
      

      We should somehow include the actual error from the TS (perhaps some summary statistics, or maybe the last error before giving up). In this case, it would have saved an hour or so of digging.

        Attachments

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: