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

magma_dump help text is incorrect

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      From the help

      --kvstore           [id]                       If no id specified, list available
                                                     kvstores and revisions.
      

      But doing that and it doesn't list anything, just outputs an error then the help.

      E.g.

      > /opt/couchbase/bin/magma_dump bucket5/ --docs-by-seq --kvstore 665
      Unable to read magma config.json. IOError: bucket5//config.json: Unable to open file err=No such file or directory. Closest non-empty parent directory: bucket5
      Attempting to use default configuration.DumpKVStore failed: Status:NotExists: KVStore ID:665 does not exist
      

      So I then list what is available and it errors that no ID was given.

      >  /opt/couchbase/bin/magma_dump bucket5/ --docs-by-seq --kvstore
      No kvstore ID for --kvstore option
       
      Usage: magma_dump <path> [options]
      

      Attachments

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

        Activity

          People

            ankush.sharma Ankush Sharma
            jwalker Jim Walker
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty