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

can't create a couchbase bucket if bucket name starts with a number ( e.g 0replica )

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0-developer-preview-3
    • Fix Version/s: 2.0-beta
    • Component/s: ns_server
    • Security Level: Public
    • Labels:
      None

      Description

      creating a bucket with a name like 0replica_100e5d80-4334-44a2-9bb7-c64ea56d7fd9 goes through.

      [menelaus:info] [2012-01-10 15:59:19] [ns_1@127.0.0.1:<0.8488.1>:menelaus_web_buckets:do_bucket_create:272] Created bucket "0replica_100e5d80-4334-44a2-9bb7-c64ea56d7fd9" of type: membase

      but couchdb can not create databases files for these buckets

      [user:info] [2012-01-10 15:59:20] [ns_1@127.0.0.1:<0.8580.1>:ns_memcached:terminate:351] Shutting down bucket "0replica_100e5d80-4334-44a2-9bb7-c64ea56d7fd9" on 'ns_1@127.0.0.1' for deletion
      [error_logger:error] [2012-01-10 15:59:20] [ns_1@127.0.0.1:error_logger:ale_error_logger_handler:log_report:72]
      =========================SUPERVISOR REPORT=========================
      Supervisor:

      {local,'single_bucket_sup-0replica_100e5d80-4334-44a2-9bb7-c64ea56d7fd9'}

      Context: start_error
      Reason: case_clause,{error,illegal_database_name,
      [

      {capi_ddoc_replication_srv,open_local_db,1}

      ,

      {cb_generic_replication_srv,init,1}

      ,

      {gen_server,init_it,6}

      ,

      {proc_lib,init_p_do_apply,3}

      ]}
      Offender: [

      {pid,undefined}

      ,
      {name,
      {capi_ddoc_replication_srv,
      "0replica_100e5d80-4334-44a2-9bb7-c64ea56d7fd9"}},
      {mfargs,
      {capi_ddoc_replication_srv,start_link,
      ["0replica_100e5d80-4334-44a2-9bb7-c64ea56d7fd9"]}},

      {restart_type,permanent}

      ,

      {shutdown,1000}

      ,

      {child_type,worker}

      ]

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

        Activity

        Hide
        FilipeManana Filipe Manana (Inactive) added a comment -

        Removed "view engine" from the component list, as this is not related to it.

        Show
        FilipeManana Filipe Manana (Inactive) added a comment - Removed "view engine" from the component list, as this is not related to it.
        Hide
        damien damien added a comment -

        Change Ic4874f14: Bucket engine compatible filenames MB-4622 & MB-4265

        Show
        damien damien added a comment - Change Ic4874f14: Bucket engine compatible filenames MB-4622 & MB-4265
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-couchdb-preview #389 (See http://qa.hq.northscale.net/job/github-couchdb-preview/389/)
        Bucket engine compatible filenames MB-4622 & MB-4265 (Revision c062b4d98e5ecee5e8655e4cdaef30cd439a0ff7)

        Result = SUCCESS
        Damien Katz :
        Files :

        • src/couchdb/couch_server.erl
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-couchdb-preview #389 (See http://qa.hq.northscale.net/job/github-couchdb-preview/389/ ) Bucket engine compatible filenames MB-4622 & MB-4265 (Revision c062b4d98e5ecee5e8655e4cdaef30cd439a0ff7) Result = SUCCESS Damien Katz : Files : src/couchdb/couch_server.erl

          People

          • Assignee:
            damien damien
            Reporter:
            farshid Farshid Ghods (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes