Skip to content

Add debug log to BigQuery ReadRowsHelper#11276

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/bigquery-log
Mar 28, 2022
Merged

Add debug log to BigQuery ReadRowsHelper#11276
ebyhr merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/bigquery-log

Conversation

@ebyhr
Copy link
Copy Markdown
Member

@ebyhr ebyhr commented Mar 2, 2022

Description

Add debug log to BigQuery ReadRowsHelper

Documentation

(x) No documentation is needed.

Release notes

(x) No release notes entries required.

@cla-bot cla-bot bot added the cla-signed label Mar 2, 2022
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logging a stacktrace and retrying isn't good, as this may easily flood logs, and with something that's not actionable.

if the attempt is retried, this should probably go on debug
if the attempt is not retried, this doesn't need to be logged at all

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@ebyhr ebyhr force-pushed the ebi/bigquery-log branch from 9c1b2b9 to 78f439a Compare March 2, 2022 10:28
@ebyhr ebyhr changed the title Add debug and warning log to BigQuery ReadRowsHelper Add debug log to BigQuery ReadRowsHelper Mar 2, 2022
@ebyhr ebyhr requested review from findepi and hashhar March 3, 2022 08:02
Add some logs in the connector because BigQuery
library doesn't leave helpful logs even with TRACE level.
@ebyhr ebyhr force-pushed the ebi/bigquery-log branch from 78f439a to c302907 Compare March 26, 2022 07:14
@ebyhr ebyhr added the no-release-notes This pull request does not require release notes entry label Mar 28, 2022
@ebyhr ebyhr merged commit 6a86781 into trinodb:master Mar 28, 2022
@ebyhr ebyhr deleted the ebi/bigquery-log branch March 28, 2022 00:24
@github-actions github-actions bot added this to the 375 milestone Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

2 participants