Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1635

cbc-rm lacks --collection/--scope

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • tools
    • None
    • 0

    Description

      Noted that cbc-rm lacks the --collection option, e.g. cbc-cat -h

      > ../install/bin/cbc-cat --help
      Usage:
        get [OPTIONS...]
       
      Retrieve items from the cluster
         -P  --password                    Bucket password [Default='']
         -u  --username                    Username [Default='']
         -Z  --config-cache                Path to cached configuration [Default='']
         -U  --spec                        Connection string [Default='couchbase://localhost/default']
             --truststorepath               [Default='']
             --certpath                    Path to server SSL certificate [Default='']
             --keypath                     Path to client SSL private key [Default='']
         -T  --timings                     Enable command timings [Default=FALSE]
         -v  --verbose                     Set debugging output (specify multiple times for greater verbosity [Default=FALSE]
             --dump                        Dump verbose internal state after operations are done [Default=FALSE]
         -y  --compress                    Turn on compression of outgoing data (second time to force compression) [Default=FALSE]
         -D  --cparam  <OPTION=VALUE>      Additional options for connection. Use -Dtimeout=SECONDS for KV operation timeout [Default=]
         -r  --replica                     Read from replica. Possible values are 'first': read from first available replica. 'all': read from all replicas, and <N>, where 0 < N < nreplicas [Default='']
         -e  --expiry                      Update the expiration time for the item [Default=0]
             --scope                       Name of the collection scope [Default='_default']
             --collection                  Name of the collection [Default='']
         -d  --durability                  Durability level [Default='none']
         -?  --help                        this message
      

      But cbc-rm lacks the option

      > ../install/bin/cbc-rm --help
      Usage:
        rm KEY ... [OPTIONS ...]
       
      Remove items from the cluster
         -P  --password                    Bucket password [Default='']
         -u  --username                    Username [Default='']
         -Z  --config-cache                Path to cached configuration [Default='']
         -U  --spec                        Connection string [Default='couchbase://localhost/default']
             --truststorepath               [Default='']
             --certpath                    Path to server SSL certificate [Default='']
             --keypath                     Path to client SSL private key [Default='']
         -T  --timings                     Enable command timings [Default=FALSE]
         -v  --verbose                     Set debugging output (specify multiple times for greater verbosity [Default=FALSE]
             --dump                        Dump verbose internal state after operations are done [Default=FALSE]
         -y  --compress                    Turn on compression of outgoing data (second time to force compression) [Default=FALSE]
         -D  --cparam  <OPTION=VALUE>      Additional options for connection. Use -Dtimeout=SECONDS for KV operation timeout [Default=]
         -d  --durability                  Durability level [Default='none']
         -?  --help                        this message
      

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            jwalker Jim Walker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty