Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some logs while Postgres queries are being executed #393

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

TiagoMSSantos
Copy link
Contributor

This commit adds some extra logs to be shown while Postgres queries are being executed. The goal is to easily identify cases where a query is not being executed because it's waiting for the Database table to be unlocked first (due to another query being already executed for example). Since it's not easy to identify a query timeout that will work for all cases of queries that can be executed with PDB, at least being able to see in the logs that PDB is still executing a query helps to identify such scenarios.

@TiagoMSSantos TiagoMSSantos force-pushed the ft-ts-add-logs-while-doing-postgres-queries branch 9 times, most recently from bed8274 to a1e26a8 Compare August 23, 2023 11:38
@TiagoMSSantos TiagoMSSantos force-pushed the ft-ts-add-logs-while-doing-postgres-queries branch from a1e26a8 to 59b74ba Compare August 23, 2023 11:40
@TiagoMSSantos TiagoMSSantos requested review from joaonuno and removed request for jmf-tls August 23, 2023 11:41
@TiagoMSSantos TiagoMSSantos force-pushed the ft-ts-add-logs-while-doing-postgres-queries branch 4 times, most recently from 08f48ac to 561a406 Compare August 23, 2023 16:31
@TiagoMSSantos TiagoMSSantos self-assigned this Aug 24, 2023
@TiagoMSSantos TiagoMSSantos force-pushed the ft-ts-add-logs-while-doing-postgres-queries branch 9 times, most recently from 867c029 to d22ecf4 Compare August 24, 2023 15:18
@TiagoMSSantos TiagoMSSantos force-pushed the ft-ts-add-logs-while-doing-postgres-queries branch 2 times, most recently from adf2db8 to daeb1dd Compare August 26, 2023 09:28
@TiagoMSSantos TiagoMSSantos force-pushed the ft-ts-add-logs-while-doing-postgres-queries branch 4 times, most recently from d3938ca to a6c1585 Compare August 29, 2023 07:36
@TiagoMSSantos TiagoMSSantos force-pushed the ft-ts-add-logs-while-doing-postgres-queries branch 2 times, most recently from 649dd14 to a703b87 Compare August 29, 2023 11:40
@TiagoMSSantos TiagoMSSantos force-pushed the ft-ts-add-logs-while-doing-postgres-queries branch 3 times, most recently from 01d1690 to 573d1c0 Compare August 29, 2023 12:07
This commit adds some extra logs to be shown while Postgres queries are being
executed. The goal is to easily identify cases where a query is not being
executed because it's waiting for the Database table to be unlocked first (due
to another query being already executed for example). Since it's not easy to
identify a query timeout that will work for all cases of queries that can be
executed with PDB, at least being able to see in the logs that PDB is still
executing a query helps to identify such scenarios.
@TiagoMSSantos TiagoMSSantos force-pushed the ft-ts-add-logs-while-doing-postgres-queries branch from 573d1c0 to 3248746 Compare August 29, 2023 12:49
@TiagoMSSantos TiagoMSSantos merged commit 9a17440 into master Aug 29, 2023
30 of 33 checks passed
@TiagoMSSantos TiagoMSSantos deleted the ft-ts-add-logs-while-doing-postgres-queries branch August 29, 2023 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants