dimas-b commented on code in PR #4061:
URL: https://github.com/apache/polaris/pull/4061#discussion_r3047160965
##########
runtime/service/src/main/java/org/apache/polaris/service/task/TaskExecutorImpl.java:
##########
@@ -159,27 +149,27 @@ public void addTaskHandlerContext(long taskEntityId,
CallContext callContext) {
// Capture the metadata now in order to capture the principal and request
ID, if any.
PolarisEventMetadata eventMetadata = eventMetadataFactory.create();
- tryHandleTask(taskEntityId, clone, eventMetadata, null, 1);
+
+ // Capture request-scoped context for propagation into the task thread.
+ TaskContextPropagator.CapturedTaskContext captured =
taskContextPropagator.capture();
Review Comment:
Good point. I missed it 🤦
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]