Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc82f5a

Browse files
committed
Be sure to release the lock on failure to launch logical replication worker.
Petr Jelinek
1 parent73293eb commitdc82f5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/backend/replication/logical/launcher.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ logicalrep_worker_launch(Oid dbid, Oid subid, const char *subname, Oid userid)
261261
/* Bail if not found */
262262
if (worker==NULL)
263263
{
264+
LWLockRelease(LogicalRepWorkerLock);
264265
ereport(WARNING,
265266
(errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED),
266267
errmsg("out of logical replication workers slots"),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp