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

ns_server should log a warning trace if a bucket with valid parameters can't be created

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      If a user attempts to create a bucket and the request is valid, but it's not possible to create the bucket for some reason, the user gets some kind of error response (a 4xx or 5xx) but there's no record of the attempt to create the bucket in the debug.log.

      Specifically, I'd like a log trace here:

                          case do_bucket_create(Req, Name, ParsedProps) of
                              ok -> ok;
                              {errors, Errors} ->
                                  {{struct, Errors}, 400};
                              {errors_500, Errors} ->
                                  {{struct, Errors}, 503}
                          end;
      

      Basically if the result is not ok, it would be good to see some kind of log trace in the debug.log.

      Attachments

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

        Activity

          People

            dfinlay Dave Finlay
            dfinlay Dave Finlay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty