Skip to content
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

Add Executor CLI arg that defines port range used for Function Executors #1149

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

eabatalov
Copy link
Contributor

@eabatalov eabatalov commented Jan 8, 2025

Also disable port reuse in Function Executor gRPC Servers and fail if a wrong task was routed to a Function Executor. Previously all these scenarios produced undefined behavior.

This allows to run multiple Executors on the same machine which is convenient for Indexify development, users experimentation with their workflows and to implement integ tests that require multiple Executors.
This also provides clear and early error messages in case the ports got misconfigured and if Executor -> Function Executor routing is misbehaving.

Also disable port reuse in Function Executor gRPC Servers and
fail if a wrong task was routed to a Function Executor.
Previously all these scenarios produced undefined behavior.

This allows to run multiple Executors on the same machine which is
convenient for Indexify development, users experimentation with
their workflows and to implement integ tests that require multiple
Executors.

This also provides clear and early error messages in case the ports
got misconfigured and if Executor -> Function Executor routing is
misbehaving.
@eabatalov eabatalov marked this pull request as ready for review January 8, 2025 14:20
@eabatalov eabatalov merged commit eb91d71 into main Jan 8, 2025
8 checks passed
@eabatalov eabatalov deleted the eugene-addr-reuse branch January 8, 2025 14:36
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.

1 participant