In a test environment I upgraded CB from 7.2.3 EE to 7.6.6 EE (2 server cluster). There is an existing SG 2.8.0 which was working in 7.2.3. After the upgrade I am getting the following warning (repeatedly) in the SG logs and sync does not work. Running on Windows 2019 DC.
[WRN] c:sync_gateway-SG Error processing DCP stream - will attempt to restart/reconnect if appropriate: UPROpen receive, err: MCResponse status=NO_BUCKET, opcode=UPR_OPEN, opaque=4027388468, msg: . -- base.(*DCPReceiver).OnError() at dcp_receiver.go:61
SG does seem to connect and open the bucket correctly as seen in complete log file below:
04:51.455-04:00 ==== Couchbase Sync Gateway/2.8.0(376;e2e7d42) EE ====
04:51.456-04:00 [INF] Opening db /sync_gateway as bucket "sync_gateway", pool "default", server < http://cbserver:8091>
04:51.456-04:00 [INF] GoCBCustomSGTranscoder Opening Couchbase database sync_gateway on < http://cbserver:8091> as user "sync_gateway"
04:51.456-04:00 [INF] Auth: Attempting credential authentication against bucket sync_gateway on http://cbserver:8091
04:51.484-04:00 [INF] Successfully opened bucket sync_gateway
04:51.496-04:00 [INF] Set query timeouts for bucket sync_gateway to cluster:1m15s, bucket:1m15s
04:51.496-04:00 [INF] Initializing indexes with numReplicas: 1...
04:51.600-04:00 [INF] Verifying index availability for bucket sync_gateway...
04:51.815-04:00 [INF] Indexes ready for bucket sync_gateway.
04:51.815-04:00 [INF] delta_sync enabled=false with rev_max_age_seconds=86400 for database sync_gateway
04:51.820-04:00 [INF] Created background task: "CleanAgedItems" with interval 1m0s
04:51.820-04:00 [INF] Cache: Initializing changes cache for database sync_gateway with options {ChannelCacheOptions:{ChannelCacheMinLength:50 ChannelCacheMaxLength:500 ChannelCacheAge:1m0s MaxNumChannels:50000 CompactHighWatermarkPercent:80 CompactLowWatermarkPercent:60 ChannelQueryLimit:5000} CachePendingSeqMaxWait:5s CachePendingSeqMaxNum:10000 CacheSkippedSeqMaxWait:1h0m0s}
04:51.820-04:00 [INF] Created background task: "InsertPendingEntries" with interval 2.5s
04:51.820-04:00 [INF] Created background task: "CleanSkippedSequenceQueue" with interval 30m0s
04:51.824-04:00 [INF] SGCluster: Started local node for sg-replicate as 2b034f4b215255b5
04:51.824-04:00 [INF] DCP: Starting mutation feed on bucket sync_gateway due to either channel cache mode or doc tracking (auto-import)
04:51.824-04:00 [INF] DCP: Using DCP feed for bucket: "sync_gateway" (based on feed_type specified in config file)
04:51.874-04:00 [INF] DCP: c:sync_gateway-SG DCP feed starting with name SG-v-2.8-commit--uuid-a8e48993-37ef-11f0-b4c2-005056852b19
04:51.874-04:00 [INF] Cache: Waiting 1.445639s for sequence allocation...
04:51.899-04:00 [INF] CBGoUtilsLogger: Using plain authentication for user <ud>TestUser</ud>
04:51.899-04:00 [INF] CBGoUtilsLogger: Using plain authentication for user <ud>TestUser</ud>
04:51.899-04:00 [WRN] c:sync_gateway-SG Error processing DCP stream - will attempt to restart/reconnect if appropriate: UPROpen receive, err: MCResponse status=NO_BUCKET, opcode=UPR_OPEN, opaque=4027388468, msg: . -- base.(*DCPReceiver).OnError() at dcp_receiver.go:61