Sync Gateway Versions Save

Manages access and synchronization between Couchbase Lite and Couchbase Server

3.1.3

5 months ago

Release notes at https://docs.couchbase.com/sync-gateway/current/release-notes.html#3-1-3december-2023

Enhancements CBG-3685 CORS max_age now configurable on a database level

Fixed Issues

  • CBG-3639 Fixed InjectJSONProperties not escaping string values
  • CBG-3643 Fix incorrect usage of PreserveExpiry with an expiry and no doc flags
  • CBG-3659 cbgt fix to avoid file system writes

3.1.2

5 months ago

Release notes at https://docs.couchbase.com/sync-gateway/current/release-notes.html#3-1-2november-2023

Enhancements

  • CBG-3557 Improve behavior when allocating sequence much lower than existing doc seq
  • CBG-3509 Add opt-out for config env var expansion for db configs
  • CBG-3495 Detect and provide metrics for duplicate database names in bootstrap polling
  • CBG-3494 Enforce "bucket" field match in DbConfig
  • CBG-3457 Prevent minor version downgrade
  • CBG-3432 Move KeyDCP changes and cache logging to KeyChanges and Key Cache
  • CBG-3430 Deterministic database/bucket bootstrapping
  • CBG-3362 Silence metrics requests
  • CBG-3361 Add basic ping/healthcheck endpoint
  • CBG-3360 Tune console log collation buffer size when writing to a file
  • CBG-3359 Per-db console log settings

Fixed Issues

  • CBG-3560 Inherited channels from roles are not checked when running changes feed filtered to a channel
  • CBG-3554 Increasing memory usage when failing to apply a database config from the bucket
  • CBG-3550 Retry limit not set for operations requiring non-SDK retry
  • CBG-3465 Config migration should consider use_xattr_config
  • CBG-3462 Sync Gateway should not use 3.0 config when 3.1 config is present
  • CBG-3454 Per-db log settings should take precedence over bootstrap
  • CBG-3450 DCP rollback should force checkpoint persistence
  • CBG-3426 Explicit check on xattr length to avoid panics
  • CBG-3405 Investigate the default scope/collection requiring resync after upgrade
  • CBG-3404 Hook up the reset resync code to a parameter that is pssed into the resync endpoint
  • CBG-3403 Handle rollback error for resync operations
  • CBG-3398 Pick up gocb fix for bootstrapping against non KV nodes
  • CBG-3397 SG warning when client’s maxHistory for a rev is exceeded on push
  • CBG-3383 Invalid error handling state for async db online
  • CBG-3350 SGW 3.1.1 using 50-75% more memory compared to 3.1.0
  • [CBG-3330(https://issues.couchbase.com/browse/CBG-3330) buildRevokedFeed query iteration fails when no documents processed]
  • CBG-3329 Revision Cache, Replications with purge_on_removal and meta.xattrs for channel assignment not purging/syncing consistently
  • CBG-3197 Cannot update db config from implicit '_default' scope to explicit '_default' scope

3.1.1.1

9 months ago

Fixed Issues

CBG-3247 openStreamRequest sends through unnecessary blocking channel

3.0.8.1

9 months ago

Fixed Issues

CBG-3235 Query based resync infinite loop when querylimit <= number of docs+tombstones CBG-3246 [3.0.8.1 (MP) Backport] Revocation feed errors cause MultiChangesFeed to close

3.1.1

10 months ago

Release notes at https://docs.couchbase.com/sync-gateway/3.1/release-notes.html#maint-3-1-1

What's Changed (generated)

Full Changelog: https://github.com/couchbase/sync_gateway/compare/3.1.0...3.1.1

3.0.8

11 months ago

Release notes at https://docs.couchbase.com/sync-gateway/3.0/release-notes.html#maint-3-0-8

What's Changed (generated)

Full Changelog: https://github.com/couchbase/sync_gateway/compare/3.0.7...3.0.8

2.1.1

11 months ago

As part of this release we had 87 commits which resulted in 6 issues being closed. Release 2.1.1

Enhancements

  • #1658 Purge doesn't remove cached documents

Bugs

  • #3692 Failure to write old revision can result in malformed revision body in revtree
  • #3724 Resync with xattrs causes warnings for every no-op
  • #3738 2.0 replication doesn't notify clients when unable to send rev message
  • #3756 DCP Feed does not seed from all nodes

Where to get it

You can download this release from Couchbase.com

2.1.0

11 months ago

As part of this release we had 178 commits which resulted in 27 issues being closed.

Performance Improvements

  • #716 Use sync.atomic to synchronize logging logLevel
  • #2396 SyncGateway restart after node automatic failover is taking more time
  • #2536 SG-Replicator throughput is not increasing with SG-Accelerator
  • #2563 Allow callers to provide current value to WriteUpdateWithXattr

Enhancements

  • #145 Switch from base/logging.go to 'clog' package
  • #341 Sync_Gateway config file only supports one URL in connection string
  • #716 Use sync.atomic to synchronize logging logLevel
  • #939 Use W3C log format for HTTP logging
  • #1021 Enable log level to be set via SG config
  • #1652 Differentiate logging between standard out and standard error
  • #1964 Add DCP support to Walrus w/ rollback ability
  • #3119 Avoid design doc/view creation when already present
  • #3526 2.1.0- sg collect info - Show message if sync gateway is not running
  • #3584 Sync-gateway does not show any error on logs when used wrong name/value pairs for logging

Bugs

  • #1574 Windows installer does not start and stop service wrapper
  • #2173 Go-couchbase 500 errors when rebalancing
  • #3548 Windows logs are written to "Program Files (x86)" when running from "Program Files"
  • #3549 Incompatible Windows filename from _sgcollect_info endpoint
  • #3555 _sgcollect_info endpoint fails with 500 error on build 78
  • #3559 Output_directory parameter is ignored on sg_collectinfo rest end point
  • #3561 Uploadhost is ignored when upload parameter is not given to _sgcollect_info end point
  • #3572 _sg_collect_info rest end point : Throwing bad request error for a requirement for upload host with upload enabled to false
  • #3583 Sgcollect : No sgcollect info zip for sg accel
  • #3632 Sgcollect rest api fails with no write access to "/opt/couchbase-sync-gateway/tools"
  • #3655 Sg collect rest API does not create zip files under /home/sync-gateway

Known Issues

  • #3562 Sync Gateway requires Couchbase Server nodes to use the same SSL memcached port

Where to get it

You can download this release from Couchbase.com

2.5.0

11 months ago

As part of this release we had 55 issues closed.

Performance Improvements

  • #3662 Collate high-volume logs for improved throughput
  • #3667 Move _attachments metadata to _sync
  • #3766 Independent timing for skipped sequence processing and cache age-out process
  • #3823 Avoid CPU spikes when abandoning skipped sequences
  • #3862 Improve channel query queueing

Enhancements

  • #3558 Initialize cache after DCP start
  • #3609 Add validation to limit log file max_size
  • #3677 Make bcrypt cost configurable
  • #3791 sgcollect_info: Proxy server support using --upload_proxy
  • #3792 Ensure consistent use of http.DefaultTransport
  • #3798 Report parameters on N1QL errors
  • #3815 Include db and handler context in all db-specific logging
  • #3833 CouchbaseServerVersion should use cluster_compat_version
  • CBG-268 Limit DCP checkpoint persistency frequency
  • CBG-247 Reduce CPU associated with large skipped sequence queue
  • CBG-233 Improve efficiency of pending sequences processing

Bugs

  • #3414 auth.Save() should be CAS safe
  • #3783 Large Number Handled Incorrectly
  • MB-32044 cbdatasource workers retry removed nodes indefinitely
  • #3838 Failed resync doesn’t revert db state to offline
  • #3839 n1ql query timeout should be set at both bucket and cluster level
  • #3872 Channel cache prepend can fail for some seq, validFrom combinations
  • #3898 Avoid nested read locks on BucketLock
  • CBG-282 Panic when putting document with duplicate non-imported doc ID
  • CBG-278 Sync Gateway panic when stopping 2.0 pull replication with attachments
  • CBG-230 _changes with include_docs=true errors on _user pseudo docs
  • CBG-197 Change default console logging behaviour
  • CBG-234 Prevent N1QL injection in Sync Gateway via _all_docs with startkey and endkey querystring options

Known Issues

  • #1264 Sync Gateway memory usage can climb continously is scenarios with ever increasing numbers of channels
  • CBG-394 Upgrade to shared_bucket_access with GSI can cause missed mutations

Where to get it

You can download this release from Couchbase.com

2.8.4

11 months ago

Generated release notes

Key Summary
CBG-2706 Compact expected/processed when safe seq unchanged
CBG-2704 ISGR Sequence checkpointing maintains unnessesary entries
CBG-2701 Use MaxInt64 for high sequence queries
CBG-2698 Add conflictIncludesRev support for proposeChanges
CBG-2607 Update websocket implementation

Full Changelog: https://github.com/couchbase/sync_gateway/compare/2.8.3...2.8.4