Skip to content

[native pos] revert TaskMetrics update to end of task#20397

Merged
shrinidhijoshi merged 1 commit intoprestodb:masterfrom
shrinidhijoshi:revertTaskMetricsUpdate
Jul 29, 2023
Merged

[native pos] revert TaskMetrics update to end of task#20397
shrinidhijoshi merged 1 commit intoprestodb:masterfrom
shrinidhijoshi:revertTaskMetricsUpdate

Conversation

@shrinidhijoshi
Copy link
Collaborator

@shrinidhijoshi shrinidhijoshi commented Jul 27, 2023

Reverting (#20295) until
we figure out why metrics aren't updating.

Current investigation shows that TaskContext object, which is
needed during metrics update, is not available in the
HttpNativeExecutionTaskInfoFetcher thread. So reverting to doing
the task metrics update in the PrestoNativeTaskExecutorFactory
until we investigate and come with a fix.

== NO RELEASE NOTE ==

@shrinidhijoshi shrinidhijoshi force-pushed the revertTaskMetricsUpdate branch 3 times, most recently from 64c6e8c to 4c31659 Compare July 27, 2023 00:56
Copy link
Contributor

@mbasmanova mbasmanova left a comment

Choose a reason for hiding this comment

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

Would you update commit message to explain a bit more why you are reverting this change?

@shrinidhijoshi shrinidhijoshi force-pushed the revertTaskMetricsUpdate branch 2 times, most recently from 487ef69 to 8a2e9e9 Compare July 28, 2023 17:15
Reverting (prestodb#20295) until
we figure out why metrics aren't updating.

Current investigation shows that TaskContext object, which is
needed during metrics update, is not available in the
HttpNativeExecutionTaskInfoFetcher thread. So reverting to doing
the task metrics update in the PrestoNativeTaskExecutorFactory
until we investigate and come with a fix.
@shrinidhijoshi shrinidhijoshi force-pushed the revertTaskMetricsUpdate branch from 8a2e9e9 to 73adbec Compare July 28, 2023 17:19
@shrinidhijoshi
Copy link
Collaborator Author

Thanks @mbasmanova . Added more details.

@shrinidhijoshi shrinidhijoshi merged commit 9ddcb22 into prestodb:master Jul 29, 2023
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.

2 participants