Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-2636

script isn't idempotent, leading to confusion

    XMLWordPrintable

Details

    Description

      The sample script on this page has the create index in there, which works the first time but then errors out in subsequent runs. This was confusing for a few moments.

      Attachments

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

        Activity

          Added a comment into the script, noting that:

          ## The CREATE PRIMARY INDEX step is only needed the first time you run this script

          richard.smedley Richard Smedley added a comment - Added a comment into the script, noting that: ## The CREATE PRIMARY INDEX step is only needed the first time you run this script

          People

            richard.smedley Richard Smedley
            docsite-collector Docs Site Collector
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty