Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-3041

[3.1.1 backport] Streamline database creation when using many collections

    XMLWordPrintable

Details

    • CBG Sprint 126, CBG Sprint 127, CBG Sprint 128, CBG Sprint 129, CBG Sprint 130
    • 1

    Description

      When a new Sync Gateway database is created against collections that weren't previously mobile-enabled, Sync Gateway needs to create indexes for each of these collections.  Index creation is a relatively slow process (https://issues.couchbase.com/browse/MB-55993).  

      Typically the first operations a customer will be performing after creating a database are config operations like creating sync functions.  If possible, it would be preferable to bring up the REST API without waiting on index creation.  Operations without index dependencies would be allowed to proceed, while those with an index dependency should return an appropriate error until the indexes are ready (probably 503 with an appropriate message).

      Attachments

        Activity

          People

            adamf Adam Fraser
            adamf Adam Fraser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty