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

[CLI] [UX] cbtransfer should fetch the KV error map and translate known errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • backlog
    • 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.5.1, 6.6.0, 6.6.1, 6.6.2, 6.5.2, 6.5.0, 6.6.3, 6.6.5, 7.0.0
    • tools
    • None
    • Untriaged
    • 1
    • No

    Description

      What's the issue?
      'cbtransfer' and all the tools built upon it, doesn't translate errors returned by 'memcached'. This results in cryptic error messages which (without prior knowledge) are hard to understand/take action on.

      What's the fix?
      From what I recall, the SDKs fetch the error map (translation table) from 'memcached' on bootstrap (or sometime soon after). This is then used to translate errors into something more user friendly. 'cbtransfer' should do the same.

      Is there a workaround?
      Yes; the error message contains the error code as an integer, this can then be converted into hex, and once again translated using the documentation.

      Attachments

        Issue Links

          Activity

            People

              james.lee James Lee
              james.lee James Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                PagerDuty