[BP 7.1.2 MB-52696] - Function app-log Write hangs when called after Close

Description

When Eventing attempts to write a message to a function's app-log file after the file has been closed, the calling goroutine gets stuck in an infinite loop.

This bug was triggered by a recent change to log a System Event Log event as well as a message to a function's app-log file when the function is auto un-deployed due to keyspace / function scope deletion, or permission revocation.

Components

Affects versions

Fix versions

Labels

Environment

None

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

Show:

CB robot October 7, 2022 at 8:53 AM

Build couchbase-server-7.2.0-5000 contains eventing commit 2fa0512 with commit message:
: Function app-log Write hangs when called after Close

Srini Raman July 7, 2022 at 9:47 AM

Verified in CI-Build.

CB robot June 27, 2022 at 9:08 AM

Build couchbase-server-7.1.2-3333 contains eventing commit 2fa0512 with commit message:
: Function app-log Write hangs when called after Close

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

Details

Assignee

Reporter

Is this a Regression?

Unknown

Triage

Untriaged

Due date

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 24, 2022 at 9:46 AM
Updated October 7, 2022 at 8:53 AM
Resolved June 27, 2022 at 5:37 AM
Instabug