Skip to content

Fix issue 1878 - Regression test failure with delete global graphs - #1881

Merged
rafsun42 merged 1 commit into
apache:masterfrom
jrgemignani:fix_issue_1878
May 17, 2024
Merged

Fix issue 1878 - Regression test failure with delete global graphs#1881
rafsun42 merged 1 commit into
apache:masterfrom
jrgemignani:fix_issue_1878

Conversation

@jrgemignani

Copy link
Copy Markdown
Contributor

Fixed issue 1878, an issue with delete_global_graphs during parallel regression tests.

Added locking and some more defensive copies.

No regression tests were impacted.

Fixed issue 1878, an issue with delete_global_graphs during parallel
regression tests.

Added locking and some more defensive copies.

No regression tests were impacted.
@github-actions github-actions Bot added master override-stale To keep issues/PRs untouched from stale action labels May 17, 2024
@rafsun42
rafsun42 merged commit 1f55cfc into apache:master May 17, 2024
jrgemignani added a commit to jrgemignani/age that referenced this pull request May 17, 2024
…pache#1881)

Fixed issue 1878, an issue with delete_global_graphs during parallel
regression tests.

Added locking and some more defensive copies.

No regression tests were impacted.
jrgemignani added a commit to jrgemignani/age that referenced this pull request May 17, 2024
…pache#1881)

Fixed issue 1878, an issue with delete_global_graphs during parallel
regression tests.

Added locking and some more defensive copies.

No regression tests were impacted.
jrgemignani added a commit to jrgemignani/age that referenced this pull request May 17, 2024
…pache#1881)

Fixed issue 1878, an issue with delete_global_graphs during parallel
regression tests.

Added locking and some more defensive copies.

No regression tests were impacted.
jrgemignani added a commit to jrgemignani/age that referenced this pull request May 17, 2024
…pache#1881)

Fixed issue 1878, an issue with delete_global_graphs during parallel
regression tests.

Added locking and some more defensive copies.

No regression tests were impacted.
rafsun42 pushed a commit that referenced this pull request May 18, 2024
…1881) (#1889)

Fixed issue 1878, an issue with delete_global_graphs during parallel
regression tests.

Added locking and some more defensive copies.

No regression tests were impacted.
jrgemignani added a commit to jrgemignani/age that referenced this pull request Aug 9, 2024
…pache#1881)

Fixed issue 1878, an issue with delete_global_graphs during parallel
regression tests.

Added locking and some more defensive copies.

No regression tests were impacted.
jrgemignani added a commit to jrgemignani/age that referenced this pull request Aug 9, 2024
…pache#1881)

Fixed issue 1878, an issue with delete_global_graphs during parallel
regression tests.

Added locking and some more defensive copies.

No regression tests were impacted.
MuhammadTahaNaveed pushed a commit that referenced this pull request Aug 9, 2024
…1881) (#2033)

Fixed issue 1878, an issue with delete_global_graphs during parallel
regression tests.

Added locking and some more defensive copies.

No regression tests were impacted.
MuhammadTahaNaveed pushed a commit that referenced this pull request Aug 9, 2024
…1881) (#2034)

Fixed issue 1878, an issue with delete_global_graphs during parallel
regression tests.

Added locking and some more defensive copies.

No regression tests were impacted.
jrgemignani pushed a commit that referenced this pull request Jun 9, 2026
…2433)

The pthread_mutex in manage_GRAPH_global_contexts() causes permanent
self-deadlock when ereport(ERROR) triggers siglongjmp while the mutex
is held, skipping pthread_mutex_unlock(). Any subsequent VLE query on
the same backend connection hangs forever in pthread_mutex_lock() with
__owner == own PID.

The mutex was introduced in PR #1881 (fix for issue #1878) but is
unnecessary: it protects a process-local static variable in
PostgreSQL's single-threaded backend model where no concurrent access
exists. The actual fix for #1878 was the Assert-to-runtime-check
conversion and strndup defensive copy, which remain untouched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

master override-stale To keep issues/PRs untouched from stale action

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants