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

Allow concurrent create index

    XMLWordPrintable

Details

    Description

      Reported in the forums:

      https://forums.couchbase.com/t/concurrent-creation-of-deferred-indexes-fails/19021
       

      Since 5.5, concurrent create index is not supported and leads to below error:
       

      Error creating secondary index my_index_1: [\{"msg":"GSI CreateIndex() - cause: Create index cannot proceed due to rebalance in progress, another concurrent create index request, network partition, node failover, or indexer failure.","code":5000}]
      

      It would be nice to allow this to work.

      Attachments

        Issue Links

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

          Activity

            mihir.kamdar Mihir Kamdar (Inactive) added a comment - One more forum post facing the same issue : https://forums.couchbase.com/t/creating-deferred-indices-concurrently/20883 .
            david.nault David Nault added a comment -

            Another vote for this issue; it causes problems with Spring Data Couchbase because indexes are automatically created when getting entity repositories.

            david.nault David Nault added a comment - Another vote for this issue; it causes problems with Spring Data Couchbase because indexes are automatically created when getting entity repositories.

            Shouldnt this ticket be an improvement ?

            mihir.kamdar Mihir Kamdar (Inactive) added a comment - Shouldnt this ticket be an improvement ?

            This feature is tested as part of the GSI Collections testing in 7.0

            mihir.kamdar Mihir Kamdar (Inactive) added a comment - This feature is tested as part of the GSI Collections testing in 7.0

            People

              amit.kulkarni Amit Kulkarni
              deepkaran.salooja Deepkaran Salooja
              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