Payload of the not yet flushed packet is not getting release in case of timeout on pipeline purge

Description

The library does not release memory of the packets that never got chance to be flushed to the network buffer.

 

Reproduction:

  1. run any operation in the loop

  2. block network traffic to the cluster:

    sudo nft add table inet libcouchbase sudo nft add chain inet libcouchbase block_cluster '{ type filter hook input priority 0; policy accept; }' sudo nft add rule inet libcouchbase block_cluster 'ip saddr { 172.17.0.4, 172.17.0.2, 172.17.0.3 } drop'
  3. observe the increasing RSS of the process

Environment

None

Gerrit Reviews

Check Mark CCBC-1651: ensure that purged packets repo:libcouchbase branch:master

Release Notes Description

None

Activity

Show:
CB Robot
May 8, 2025 at 10:55 PM

Build couchbase-columnar-1.1.2-1354 contains libcouchbase commit 590f92b with commit message:
CCBC-1651: ensure that purged packets get their memory released

CB Robot
February 25, 2025 at 2:06 AM

Build couchbase-columnar-1.2.0-1009 contains libcouchbase commit 590f92b with commit message:
CCBC-1651: ensure that purged packets get their memory released

CB Robot
February 25, 2025 at 1:32 AM

Build couchbase-columnar-1.2.0-1009 contains libcouchbase commit 590f92b with commit message:
CCBC-1651: ensure that purged packets get their memory released

CB Robot
February 24, 2025 at 10:00 PM

Build couchbase-columnar-1.2.0-1009 contains libcouchbase commit 590f92b with commit message:
CCBC-1651: ensure that purged packets get their memory released

CB Robot
December 12, 2024 at 5:56 PM

Build couchbase-columnar-1.1.0-1155 contains libcouchbase commit 590f92b with commit message:
CCBC-1651: ensure that purged packets get their memory released

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Fix versions

Sprint

None

Story Points

Components

Reporter

Issue Impact

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created October 18, 2024 at 3:59 AM
Updated May 8, 2025 at 10:55 PM
Resolved October 18, 2024 at 6:17 PM
Instabug