Closed b-smets closed 7 years ago
This has been fixed in the latest Sync Gateway, but didn't make it to 1.4.1. If you want to pick the change, you can either build from master, or wait for upcoming 1.5.0 DP.
@b-smets you can grab the latest master branch build from here:
http://latestbuilds.hq.couchbase.com/couchbase-sync-gateway/1.5.0/1.5.0-380/
@b-smets sorry, correction, I don't believe the 1.4.1-3 build has that fix. Updating the comment to remove that link
Do you have a timeframe when 1.5 will be released?
1.5 developer preview is scheduled to be released next week.
Sync Gateway version
We are running Sync Gateway v1.4.0 (CE)
Description
In an attempt to deal with a massive pile-up of obsolete attachments (see https://github.com/couchbase/sync_gateway/issues/1648) we decided to try and replicate the bucket into a new bucket, hoping it would take online live documents and attachments resulting in a far smaller bucketsize. However, when running the one-shot replication as per your documentation page (using the curl generated by your swagger docs) we end up with the following:
Curl command:
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ "source": "sourcebucket", "target": "http://targetip:4985/targetbucket" }' 'http://localhost:4985/_replicate'
Expected:
The replication completes fine and the new bucket contains all documents of the old bucket.
Observed:
After running for about 20 seconds we end up with the following error which terminates the Sync Gateway service:
Is there any way to work around this issue other than writing a custom application and doing this manually?