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

Flushing a bucket fails with unexpected error when view indexes are being built

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • Unknown

    Description

      Steps:

      1. Create a bucket "data-bucket".
      2. Add a million docs to this bucket.
      3. Start sync gateway with its json pointing to this bucket.
      4. Flush the bucket from the UI once the sync gateway view indexes are being built.

      Actual:

      Flush fails with " Flush failed with unexpected error. Check server logs for details. " message

      In the UI -> Logs, I see:

      Flushing "data-bucket" failed with error: 
      {error,{prepare_flush_failed,['ns_1@192.168.33.21'],[]}}
      Flushing "data-bucket" failed with error: 
      {error,{flush_wait_failed,

      Expected:

      Either the bucket flush should work with the view creation aborted or a busy message should be displayed.

       

      Server logs:

      http://supportal.couchbase.com/snapshot/66d21f872c5f6294d5fd40a2fe0f3b74::1

      Attachments

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

        Activity

          People

            raghu.sarangapani Raghu Sarangapani (Inactive)
            raghu.sarangapani Raghu Sarangapani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty