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

Limit on channel queries triggered by 2.x replication

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.8.0
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 46, CBG Sprint 47
    • 5

    Description

      2.x replication doesn't set a limit value in changesOptions, as changes responses aren't batched in the same way 1.x responses are. However, this also means that queries triggered by changes requests aren't including a limit. This can result in query timeouts when backfill is required for very large channels.

      Sync Gateway should apply a query limit when not otherwise specified. The default limit can be relatively large (i.e. the size of the default channel cache), but may need to be configurable, so that customers can tune the limit to their channel sizes in scenarios where query performance supports larger queries.

      Attachments

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

        Activity

          People

            adamf Adam Fraser
            adamf Adam Fraser
            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