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
{{ message }}
Repository navigation
leaked hash_seq_search scan for hash table warning in join #15
The issue is PG complains about any non-terminated hash_search at the txn commit time, and the non-terminating hash_search starts in CreateAndDrainPersistedQuery function which tries to close all previously open portals with ThereAreNoReadyPortals.
The hash table is private and there is not much APIs to access it or freeze it before starting hash_search so that PG would not complain.
Activity
diipak-bisht commentedon Jan 27, 2025
The issue is PG complains about any non-terminated hash_search at the txn commit time, and the non-terminating hash_search starts in
CreateAndDrainPersistedQueryfunction which tries to close all previously open portals withThereAreNoReadyPortals.The hash table is private and there is not much APIs to access it or freeze it before starting hash_search so that PG would not complain.
visridha commentedon Jan 28, 2025
We're actively looking at this. This should be resolved soon - and we're refactoring the code to not scan all cursors and prune them.