Release Notes

2.7.3 — May, 2020

Fixed at this Release

CBG-816 — Bump gocbconnstr dependency to uptake SRV support

Update Sync Gateway references to pick-up the latest version of gocbconnstr, to ensure connection to servers using SRV records.

2.7.2 — March, 2020

Fixed at this Release

  • CBG-741 403 Attachment’s doc not being synced during CBL replication

  • CBG-744 OldDoc body in sync function for tombstone resurrections does not contain _deleted=true

  • CBG-661 Errors from REST API produce invalid JSON

  • CBG-743 Doc body in sync function contains _deleted=false

2.7.1 — February, 2020

Fixed at this Release

  • CBG-727 Panic when connecting to non-standard memcached port using couchbase(s):// scheme

  • CBG-695 Alternate addresses are always used if defined instead of applying heuristic

Known issues

  • CBG-661 Errors from REST API produce invalid JSON

2.7.0 — January, 2020

Config Changes

  • Removed options (previously deprecated)

    • maxCouchbaseConnections

    • maxCouchbaseOverflow

    • Sync Gateway Accelerator options:

      • skip_runmode_validation

      • runmode

      • channel_index

      • channel_index.writer

      • channel_index.num_shards

      • channel_index.seq_hashing

      • channel_index.seq_hashing.expiry

      • channel_index.seq_hashing.hash_frequency

      • channel_index.tombstone_compact_freq

    • Bucket Shadowing options:

      • shadow

      • shadow.doc_id_regex

      • shadow.feed_type

      • deprecated.shadow

      • deprecated.shadow.doc_id_regex

      • deprecated.shadow.feed_type

  • New and Changed options

    • db.import_partitions - Controls the number of partitions for import sharding (see databases.$db.import_partitions)

    • The default behavior of db.import_docs has changed (see databases.$db.import_docs).

      This will provide the flexibility for "import heavy" use case users to be able to isolate the import nodes from the internet/client-facing nodes

Enhancements

  • Sync Gateway now supports CentOS8 and RHEL8

  • CBG-584 SyncGateway now supports scenarios where alternate addresses are provided on Couchbase Server.

For more information on using alternate addresses — see Couchbase Server’s Alternate Addresses documentation.

Known issues

  • CBG-661 Errors from REST API produce invalid JSON

  • CBG-695 Alternate addresses are always used if defined instead of applying heuristic

Fixed at this Release

  • CBG-620 Concurrent attempts to create indexes trigger SG restart

  • CBG-583 Skip-deleted-docs optimization never enabled in pull replication

  • CBG-549 sgcollect should pick up stderr output on all platforms

  • CBG-522 DocumentChanged webhook sending incorrect revision

  • CBG-520 Initialization race for channel cache validFrom

  • CBG-514 Running sgcollect_info on command with root privileges is overriding bin/sync_gateway file on MacOS

  • CBG-502 x.509 broken due to deprecated CertificateAuthenticator

  • CBG-500 Sync Gateway not handling graceful failover correctly

  • CBG-463 Potential feedback loop when replicating large attachments

  • CBG-439 Investigate incorrect CPU usage stats

  • CBG-427 sgcollect_info tool failed to collect log when SG_SSL is enabled

  • CBG-394 Upgrade to shared_bucket_access with GSI can cause missed mutations

  • CBG-317 network errors while getting bulk get with multi channel with server ssl enabled

  • CBG-669 Potential deadlock in sequenceAllocator

2.6.1

Fixed at this Release

  • CBG-530 New attachment metadata not preserved on CAS retry during document update

  • CBG-514 running sgcollect_info on command with root privileges is overriding bin/sync_gateway file on MacOS

  • CBG-502 x.509 broken due to deprecated CertificateAuthenticator

Known issues

  • CBG-463 Potential feedback loop when replicating large attachments

  • CBG-669 Potential deadlock in sequenceAllocator

2.6.0

Deprecated Configs

  • The following configuration properties are being deprecated in this release and will be removed in a future release:

    • adminUI

    • configServer

    • databases.$db.feed_type

    • pretty

    • profileInterface

    • log (superseded by logging)

    • logFilePath (superseded by logging.log_file_path)

  • The walrus value on the databases.$db.bucket property is being deprecated. Sync Gateway instances using walrus for development should connect to a running instance of Couchbase Server.

New Features

Enhancements

  • CBG-260 Add configurable minimum TLS version

  • CBG-220 Limit total size of rotated logs

  • CBG-222 Set default value of revs_limit to 100, and 50 if allow_conflicts: false.

Fixed at this Release

  • CBG-449 _removed entry not sent with delta sync

  • CBG-370 Sync gateway fails to start

  • CBG-364 Odd SG Installation errors

  • CBG-363 Return HTTP 413 when server rejects document due to size

  • CBG-362 Inconsistent handling between views and N1QL for tombstone removals

  • CBG-357 GoCB Bucket Incr amt=0 logic not taking 'def' into account

  • CBG-342 GoCB Bucket Incr amt=0 logic not handling errors correctly

  • CBG-324 Blip messages double-tagging user for redaction

  • CBG-321 Improve sg-replicate logging integration

  • CBG-309 Don’t log expected REST errors to sg_error.log

  • CBG-306 Avoid panics as an error handling mechanism

  • CBG-288 Investigate TestN1qlQuery failures

  • CBG-286 SUBDOC operation attempted when server doesn’t support them

  • CBG-284 Retry loops for bucket update ops have no backoff and no max retry count

  • CBG-280 Syncgateway doesn’t import all documents while importing 50M docs ( build 2.1.3-4)

  • CBG-279 go-blip leaks nextFrameToSend goroutine under aborted multi-frame send

  • CBG-265 Post Upgrade fails to remove 2.0 era design docs

  • CBG-264 Post Upgrade "fails" in a cluster with no query nodes

  • CBG-253 Unused bulk_docs reserved sequences may not be released

  • CBG-225 Unresponsive REST API on startup

  • CBG-221 Admin/User views cannot handle both xattr and non-xattr simultaneously

  • CBG-189 Compact() shouldn’t trigger import errors

  • CBG-159 CouchbaseServerVersion should use clusterCompatibility version

Known issues

  • CBG-463 Potential feedback loop when replicating large attachments

  • CBG-502 x.509 certificate authentication broken due to deprecated CertificateAuthenticator

  • CBG-669 Potential deadlock in sequenceAllocator