Skip to content

Commit 67f73a1

Browse files
committed
Update release meta for 3.3.9
Change-Id: Ie87e8d976db1add82c40895b9e73e932c5288bde Reviewed-on: https://review.couchbase.org/c/libcouchbase/+/197489 Tested-by: Build Bot <[email protected]> Reviewed-by: Sergey Avseyev <[email protected]>
1 parent cf16178 commit 67f73a1

File tree

5 files changed

+29
-5
lines changed

5 files changed

+29
-5
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.5.1)
3030
# Couchbase mock path to download
3131
SET(COUCHBASE_MOCK_VERSION 1.5.25)
3232
SET(COUCHBASE_MOCK_URL "https://github.com/couchbase/CouchbaseMock/releases/download/${COUCHBASE_MOCK_VERSION}/CouchbaseMock-${COUCHBASE_MOCK_VERSION}.jar")
33-
project(libcouchbase VERSION 3.3.8 LANGUAGES C CXX)
33+
project(libcouchbase VERSION 3.3.9 LANGUAGES C CXX)
3434

3535
if (NOT CMAKE_VERSION VERSION_LESS "3.13")
3636
# CMP0077: option() honors normal variables

RELEASE_NOTES.markdown

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Release Notes
22

3+
# 3.3.9 (2023-09-20)
4+
5+
* CCBC-1608: reduce timeout for idle HTTP connections to 1 second
6+
7+
* CCBC-1615: handle rate limit codes during bootstrap
8+
9+
* CCBC-1612: Improve recovery time during rebalance for upcoming Server 7.6.
10+
* do not throttle CCCP provider in faster failover mode.
11+
* try to refresh configuration in case of network errors to speed up the recovery process during failover.
12+
13+
* CCBC-1611: Handle `0x0d` (`ECONFIG_ONLY`) status code. Treat this status code as a signal to refresh configuration.
14+
The new or failed over nodes are set into config-only mode, where all data operatios will be failed with code 0x0d. It
15+
is possible that the SDK might be using stale configuration and send requests to the node, that is not part of the
16+
cluster anymore, so to work around this, the library will update the configuration and retry the operation.
17+
18+
* CCBC-1610: Fix memory issues when setting collection id in the cluster with mixed server versions, where some of the
19+
nodes do not support collections.
20+
321
# 3.3.8 (2023-08-16)
422

523
* CCBC-1584: Update documentation on how to use collections with pillowfight

cmake/Modules/GetVersionInfo.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ IF(APPLE)
6565
ELSE()
6666
SET(LCB_SONAME_MAJOR "8")
6767
ENDIF()
68-
SET(LCB_SONAME_FULL "${LCB_SONAME_MAJOR}.0.16")
68+
SET(LCB_SONAME_FULL "${LCB_SONAME_MAJOR}.0.17")
6969

7070
MESSAGE(STATUS "libcouchbase ${LCB_VERSION_MAJOR},${LCB_VERSION_MINOR},${LCB_VERSION_PATCH}")
7171
MESSAGE(STATUS "Building libcouchbase ${LCB_VERSION}/${LCB_VERSION_CHANGESET}")

doc/Doxyfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "Couchbase C Client"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 3.3.8
41+
PROJECT_NUMBER = 3.3.9
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

src/mc/mcreq.c

+8-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
#define LOGARGS(pipeline, lvl) \
2424
((lcb_INSTANCE *)((pipeline)->parent->cqdata))->settings, "mcreq", LCB_LOG_##lvl, __FILE__, __LINE__
2525

26+
#define LOGFMT "(SRV=%p,IX=%d) "
27+
#define LOGID(pipeline) (void *)(pipeline), (pipeline)->index
28+
2629
#define PKT_HDRSIZE(pkt) (MCREQ_PKT_BASESIZE + (pkt)->extlen)
2730

2831
lcb_STATUS mcreq_reserve_header(mc_PIPELINE *pipeline, mc_PACKET *packet, uint8_t hdrsize)
@@ -309,7 +312,9 @@ static mc_PACKET *check_collection_id(mc_PIPELINE *pipeline, mc_PACKET *packet)
309312
}
310313
} else if (pipeline->parent->cqdata) {
311314
lcb_log(LOGARGS(pipeline, DEBUG),
312-
"Custom collection id has been dispatched to the node, that does not support collections");
315+
LOGFMT
316+
"Custom collection id has been dispatched to the node, that does not support collections",
317+
LOGID(pipeline));
313318
}
314319
}
315320
break;
@@ -318,7 +323,8 @@ static mc_PACKET *check_collection_id(mc_PIPELINE *pipeline, mc_PACKET *packet)
318323
// the pipeline hadn't completed handshake yet, so trust global settings, and let operation be fixed
319324
// when it will be retried in case of misprediction.
320325
if (pipeline->parent->cqdata) {
321-
lcb_log(LOGARGS(pipeline, DEBUG), "Collections has not been negotiated for the pipeline yet");
326+
lcb_log(LOGARGS(pipeline, DEBUG), LOGFMT "Collections has not been negotiated for the pipeline yet",
327+
LOGID(pipeline));
322328
}
323329
break;
324330
}

0 commit comments

Comments
 (0)