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

cbepctl error handling - please provide meaningful error messages.

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 3.0
    • couchbase-bucket
    • Security Level: Public
    • Mar 9 - Mar 27

    Description

      Please provide meaningful error messages or meaningful help for command line tools such as cbepctl.

      Running cbepctl against the wrong port results in a generic error message. The command line help simply specifies 'dataport' instead of specifying REST port or Memcached port which would be more helpful.

      Users should be guided with proper (error/information) message or proper help. The documentation for Couchbase specifies the proper port to use but nothing in the tool itself or error messages.

      Usage: cbepctl host:dataport drain
      or cbepctl host:dataport set type param value
      or cbepctl host:dataport start
      or cbepctl host:dataport stop

      [root@ip-10-250-143-131 bin]# ./cbepctl localhost:8091 set flush_param flushall_enabled true
      setting param: flushall_enabled true
      Generic error (Operation timed out)

      Attachments

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

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            alex Alex Ma [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty