-
Notifications
You must be signed in to change notification settings - Fork 658
Too big Deployment is no longer rejected #9946
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
Comments
I've marked this |
Goal is to fix it until 8.1.0 release |
@korthout How did you reproduce this? When I deploy a large resource I still get a rejection on the client side:
Internally on the broker I can see the |
@remcowesterhoud Are you on |
We shouldn't throw an IllegalArgumentException, because that would be an unexpected error. Instead we should handle the error by rejecting the command. |
I'm not sure where to catch this error tbh as it comes from some random actor. Do you want to have a look at it together @korthout ? |
I'm not sure why I didn't see the problem last time, maybe my branch was outdated. However, I can fully reproduce the issue with the partition dying. I shall create a fix for this today. |
Describe the bug
When I deploy a very large resource, then the request times out and the partition ends up in an error loop.
We discovered this bug while experimenting with a known bug for a game day:
In the past, the user would see a rejection message as described by that issue (like this) when deploying a resource that is too large. However, that is no longer the case in version
8.1.0-alpha4
.Note that this issue differs from #5776 because that specifically discusses problems related to the distribution of a large Deployment, while this is about the deployment itself.
To Reproduce
Deploy a very large resource (like a process with lots of data in XML comments or in the documentation tag):
Expected behavior
The client receives a rejection, and the partition stays healthy.
Log/Stacktrace
Full Stacktrace
Environment:
The text was updated successfully, but these errors were encountered: