-
Notifications
You must be signed in to change notification settings - Fork 118
Closed
Description
Currently, the Schema object can grow unboundedly because we don't enforce limits. If the Schema grows too big, then our grpc based metadata communication fails as it by default has a message size limit of 4MB. This can happen if users have many historic deployments registered, for example.
A user reported this problem: https://discord.com/channels/1128210118216007792/1446088397398610022
To protect against this problem, we should add some limits:
- Limit the overall size of the
Schemaobject. It should be below the maximum message size that our grpc clients are configured with.
Once we hit the limit, we should print a comprehensive error message telling the user to remove unused deployments to reduce the overall size.
Metadata
Metadata
Assignees
Labels
No labels