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

Sync Gateway ended DCP feed early

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • 2.5.0
    • SyncGateway
    • Security Level: Public
    • macOS 10.14.2
      Sync Gateway 2.5.0-239
      Couchbase Server 6.5.0-2433
    • CBG Sprint 16
    • 3

    Description

      There were quite a lot of events that went into this but here is the timeline of what happened to the best of my knowledge:

      1. Created a Couchbase Server (6.5.0-2433) bucket with 1 million docs
      2. Started Sync Gateway 2.5.0-205 running against that bucket on the same machine
      3. Forgot that import was off so stopped SG and turned it on
      4. Started Sync Gateway again
      5. Computer became unstable at around 300k docs imported and had to force power off the machine (taking down both SG and server at once)
      6. Restarted sync gateway with the same config
      7. Got tired of seeing so much console output so killed Sync Gateway and set the logging to warn on the console.  Also changed Sync Gateway to 2.5.0-239
      8. Went to lunch and let the import continue
      9. Came back to a confused Sync Gateway

      This may be a non-issue (I expect at the very least it is not reproducible) but since I have it in the state that it is in, here is sg_collect stuff with debug logging enabled.  Also worth noting is that during the import Sync Gateway shows between 100 - 125% CPU usage, while memcached shows between 275 and 325%.  Memory usage seems stable for what it's worth (SG 0.5% and memcached between 11.0 and 11.3)

      Attachments

        Issue Links

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

          Activity

            People

              jacques.rascagneres Jacques Rascagneres
              jimb Jim Borden
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty