You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
abhinab-yb
changed the title
[YSQL][ActiveHistory] Background workers may have null MyProcPort resulting in an assertion failure
[YSQL][ActiveHistory] Background workers can crash due to an assertion failure in ASH code
Dec 18, 2023
abhinab-yb
changed the title
[YSQL][ActiveHistory] Background workers can crash due to an assertion failure in ASH code
[YSQL][ActiveHistory] Background workers can crash due to an assertion failure in ASH
Dec 18, 2023
abhinab-yb
changed the title
[YSQL][ActiveHistory] Background workers can crash due to an assertion failure in ASH
[YSQL][ActiveHistory] Background workers with postgres backends can crash due to an assertion failure in ASH
Dec 19, 2023
Summary:
Background workers may not have MyProcPort set. This results in an assertion
failure in ASH code if a postgres backend was initialized by the background
worker and causes the background worker to crash. The assertion failure is only
hit when ASH is enabled. This assertion was incorrectly introduced by commit
de8c183
This diff checks and doesn't set client address in ASH metadata if MyProcPort is null,
i.e. when a background worker creates a postgres backend.
Jira: DB-9324
Test Plan: Jenkins: compile only
Reviewers: jason
Reviewed By: jason
Subscribers: amitanand, hbhanawat, yql
Differential Revision: https://phorge.dev.yugabyte.com/D31159
Jira Link: DB-9324
Description
Background workers may not have
MyProcPort
set. This results in a assertion failure and causes the background worker to crash.Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: