Skip to content

Added new GRPC message types for worker indexing, along with relevant functions and tests #7541

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 7 commits into from
Jul 15, 2021

Conversation

anandagopal6
Copy link
Contributor

@anandagopal6 anandagopal6 commented Jul 13, 2021

Protobuf needs to support sending and receiving worker metadata requests/responses

This PR adds the new worker indexing GRPC message types to the protobuf. It also adds some functions into GrpcWorkerChannel.cs to send/receive the metadata requests and responses, along with a test to check this sending and receiving functionality.

Resolves #7513 and #7514

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • I have added all required tests (Unit tests, E2E tests)

Added functions into GrpcWorkerChannel to handle sending requests and receiving responses form the worker.

Added test to check functionality of new worker channel functions.
@anandagopal6 anandagopal6 self-assigned this Jul 13, 2021
@anandagopal6 anandagopal6 marked this pull request as ready for review July 13, 2021 18:48
…GRPC message types based on Brett's feedback

Also changed some debug message descriptiveness based on the feedback too.
Copy link
Member

@brettsam brettsam left a comment

Choose a reason for hiding this comment

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

Just one more suggestion -- then looks good!

Added a debug log statement for when the worker indexing result for a function is a failure.
brettsam
brettsam previously approved these changes Jul 15, 2021
Copy link
Member

@brettsam brettsam left a comment

Choose a reason for hiding this comment

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

Just one minor change -- then we'll get this in!

Change log statement to a `LogError`
@anandagopal6 anandagopal6 merged commit cb93815 into dev Jul 15, 2021
@anandagopal6 anandagopal6 deleted the t-anjanan/grpc-additions branch July 15, 2021 15:41
@anandagopal6 anandagopal6 restored the t-anjanan/grpc-additions branch July 15, 2021 15:41
@anandagopal6 anandagopal6 deleted the t-anjanan/grpc-additions branch July 15, 2021 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants