Skip to content

Commit

Permalink
Update release meta for 3.3.9
Browse files Browse the repository at this point in the history
Change-Id: Ie87e8d976db1add82c40895b9e73e932c5288bde
Reviewed-on: https://review.couchbase.org/c/libcouchbase/+/197489
Tested-by: Build Bot <[email protected]>
Reviewed-by: Sergey Avseyev <[email protected]>
  • Loading branch information
avsej committed Sep 22, 2023
1 parent cf16178 commit 67f73a1
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.5.1)
# Couchbase mock path to download
SET(COUCHBASE_MOCK_VERSION 1.5.25)
SET(COUCHBASE_MOCK_URL "https://github.com/couchbase/CouchbaseMock/releases/download/${COUCHBASE_MOCK_VERSION}/CouchbaseMock-${COUCHBASE_MOCK_VERSION}.jar")
project(libcouchbase VERSION 3.3.8 LANGUAGES C CXX)
project(libcouchbase VERSION 3.3.9 LANGUAGES C CXX)

if (NOT CMAKE_VERSION VERSION_LESS "3.13")
# CMP0077: option() honors normal variables
Expand Down
18 changes: 18 additions & 0 deletions RELEASE_NOTES.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Release Notes

# 3.3.9 (2023-09-20)

* CCBC-1608: reduce timeout for idle HTTP connections to 1 second

* CCBC-1615: handle rate limit codes during bootstrap

* CCBC-1612: Improve recovery time during rebalance for upcoming Server 7.6.
* do not throttle CCCP provider in faster failover mode.
* try to refresh configuration in case of network errors to speed up the recovery process during failover.

* CCBC-1611: Handle `0x0d` (`ECONFIG_ONLY`) status code. Treat this status code as a signal to refresh configuration.
The new or failed over nodes are set into config-only mode, where all data operatios will be failed with code 0x0d. It
is possible that the SDK might be using stale configuration and send requests to the node, that is not part of the
cluster anymore, so to work around this, the library will update the configuration and retry the operation.

* CCBC-1610: Fix memory issues when setting collection id in the cluster with mixed server versions, where some of the
nodes do not support collections.

# 3.3.8 (2023-08-16)

* CCBC-1584: Update documentation on how to use collections with pillowfight
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/GetVersionInfo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ IF(APPLE)
ELSE()
SET(LCB_SONAME_MAJOR "8")
ENDIF()
SET(LCB_SONAME_FULL "${LCB_SONAME_MAJOR}.0.16")
SET(LCB_SONAME_FULL "${LCB_SONAME_MAJOR}.0.17")

MESSAGE(STATUS "libcouchbase ${LCB_VERSION_MAJOR},${LCB_VERSION_MINOR},${LCB_VERSION_PATCH}")
MESSAGE(STATUS "Building libcouchbase ${LCB_VERSION}/${LCB_VERSION_CHANGESET}")
2 changes: 1 addition & 1 deletion doc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "Couchbase C Client"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 3.3.8
PROJECT_NUMBER = 3.3.9

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
10 changes: 8 additions & 2 deletions src/mc/mcreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
#define LOGARGS(pipeline, lvl) \
((lcb_INSTANCE *)((pipeline)->parent->cqdata))->settings, "mcreq", LCB_LOG_##lvl, __FILE__, __LINE__

#define LOGFMT "(SRV=%p,IX=%d) "
#define LOGID(pipeline) (void *)(pipeline), (pipeline)->index

#define PKT_HDRSIZE(pkt) (MCREQ_PKT_BASESIZE + (pkt)->extlen)

lcb_STATUS mcreq_reserve_header(mc_PIPELINE *pipeline, mc_PACKET *packet, uint8_t hdrsize)
Expand Down Expand Up @@ -309,7 +312,9 @@ static mc_PACKET *check_collection_id(mc_PIPELINE *pipeline, mc_PACKET *packet)
}
} else if (pipeline->parent->cqdata) {
lcb_log(LOGARGS(pipeline, DEBUG),
"Custom collection id has been dispatched to the node, that does not support collections");
LOGFMT
"Custom collection id has been dispatched to the node, that does not support collections",
LOGID(pipeline));
}
}
break;
Expand All @@ -318,7 +323,8 @@ static mc_PACKET *check_collection_id(mc_PIPELINE *pipeline, mc_PACKET *packet)
// the pipeline hadn't completed handshake yet, so trust global settings, and let operation be fixed
// when it will be retried in case of misprediction.
if (pipeline->parent->cqdata) {
lcb_log(LOGARGS(pipeline, DEBUG), "Collections has not been negotiated for the pipeline yet");
lcb_log(LOGARGS(pipeline, DEBUG), LOGFMT "Collections has not been negotiated for the pipeline yet",
LOGID(pipeline));
}
break;
}
Expand Down

0 comments on commit 67f73a1

Please sign in to comment.