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

Inconsistent naming convention of a collection and scope across the system

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • backlog
    • None
    • ns_server

    Description

      Across the board collections are usually referred inside Couchbase with the following convention: "bucket.scope.collection". it's true for N1QL, Couchbase CLI, backup and restore and more.

       

      i.e. Couchbase-cli

       

      /opt/couchbase/bin/couchbase-cli collection-manage -c localhost \ --username Administrator \ --password password \ --bucket testBucket \ --create-collection my_scope.my_collection_in_my_scope_1 \ --max-ttl 0
      

       

      https://docs.couchbase.com/server/7.0/manage/manage-scopes-and-collections/manage-scopes-and-collections.html

      https://docs.couchbase.com/server/7.0/n1ql/n1ql-intro/queriesandresults.html

      However, with regard to Couchbase roles, the convention seems to be different "bucket:scope:collection" and the separation is with ":" instead of ".".

      https://docs.couchbase.com/server/7.0/manage/manage-security/manage-users-and-roles.html

       

      not sure if that intentional or not or what is "better", but I opened this ticket for tracking and consistency.

       

      Attachments

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

        Activity

          People

            artem Artem Stemkovski
            roi.katz Roi Katz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty