SR: Browser crash on comparing a huge schema #867
Labels
area/sr
Schema Registry
scope/frontend
Related to frontend changes
status/confirmed
A bug that is a confirmed one. Applicable only for the bug label.
status/triage/completed
Automatic triage completed
type/bug
Something isn't working
Issue submitter TODO list
main
-labeled docker image and the issue still persists thereDescribe the bug (actual behavior)
"From a discord conversation"
We recently updated our repo to use Kafbat 1.1.0 Kafka UI over the original. One of our users has an extremely large Json schema over 12,000 lines.
They said that they were able to use the compare feature prior to us moving to the new version of Kafbat. It would just take awhile to load. Now it ends up crashing chrome. It seems to be a client side issue as there are no error logs on the backend. And nothing seems to appear in the console.
This is a schema with sensitive information removed.
https://gist.github.com/pochea15/5e2e4332fd223ee07e3e0b574ac93f31
Expected behavior
User has an understanding a schema that large is going to be slow but having it not crash is the expected behavior.
Your installation details
Steps to reproduce
Load up https://gist.github.com/pochea15/5e2e4332fd223ee07e3e0b574ac93f31 and give it a go
Screenshots
No response
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: