Skip to content

[Under a feature flag] Removing duplicates #4660

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

Merged
merged 1 commit into from
Jul 31, 2019
Merged

[Under a feature flag] Removing duplicates #4660

merged 1 commit into from
Jul 31, 2019

Conversation

yojagad
Copy link
Contributor

@yojagad yojagad commented Jul 10, 2019

Attempting to fix #3845

Test status:
Node: Passed (corresponding PR Azure/azure-functions-nodejs-worker#234)
Java: Tracking issue (Azure/azure-functions-java-worker#319)
Powershell: Tracking issue (Azure/azure-functions-powershell-worker#292)
Python: Pending verification form @maiqbal11 as to whether this already supported.

@@ -178,7 +178,6 @@ public static TypedData ToRpc(this object value, ILogger logger, Capabilities ca
}

request.Body.Position = 0;
http.Body = body.ToRpc(logger, capabilities);
Copy link
Member

Choose a reason for hiding this comment

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

Unless this is driven by worker capabilities, it will introduce a change that will require language worker updates. Ideally, this would be done in a non-breaking, backwards compatible way (i.e. the capability needs to be advertised by the worker)

Copy link
Member

@pragnagopa pragnagopa Jul 22, 2019

Choose a reason for hiding this comment

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

I recommended @yojagad to first try with other languages as this issue is very likely just with nodejs worker. Other language workers might not be relying on the duplicates.

@yojagad yojagad changed the title Removing duplicates [Do not merge until language workers are updated and tested] Removing duplicates Jul 22, 2019
@yojagad yojagad changed the title [Do not merge until language workers are updated and tested] Removing duplicates [Do not merge until language workers are updated, tested and merged] Removing duplicates Jul 23, 2019
http.RawBody = rawBodyString.ToRpc(logger, capabilities);
}
request.Body.Position = 0;
http.Body = body.ToRpc(logger, capabilities);
Copy link
Member

Choose a reason for hiding this comment

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

@maiqbal11 - Can you confirm if python worker send IsRawBodyBytesRequested by default?

@yojagad yojagad requested a review from mhoeger July 23, 2019 22:30
@yojagad yojagad changed the title [Do not merge until language workers are updated, tested and merged] Removing duplicates [Under a feature flag] Removing duplicates Jul 23, 2019
Copy link
Contributor

@mhoeger mhoeger left a comment

Choose a reason for hiding this comment

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

Comment about change to BindingData dictionary, but other parts look good!

Copy link
Member

@pragnagopa pragnagopa left a comment

Choose a reason for hiding this comment

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

Added minor comments. Thanks!

Copy link
Contributor

@mhoeger mhoeger left a comment

Choose a reason for hiding this comment

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

Looks great, thanks Yogesh!

Feel free to open issues in other language worker repos with context to consume the change.

One small thing - can you wait for a build of the nodejs-worker PR tests to pass before merging this change? just to be extra safe (want to make sure the nodejs e2e tests pass before and after this change is merged!)

Copy link
Member

@pragnagopa pragnagopa left a comment

Choose a reason for hiding this comment

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

👍

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.

Duplicate binding data in gRPC messages
4 participants