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

Entities with long lineage lists cause 414 errors in rest.li #2447

Closed
gabe-lyons opened this issue Apr 23, 2021 · 1 comment
Closed

Entities with long lineage lists cause 414 errors in rest.li #2447

gabe-lyons opened this issue Apr 23, 2021 · 1 comment
Labels
bug Bug report

Comments

@gabe-lyons
Copy link
Contributor

Describe the bug
When an entity attempts to fetch its lineage, datahub-frontend issues a batch-get call to gms with each entity urn in the url. If the entity has too many downstream or upstream dependencies, this URI can exceed rest.li's limit.

There is a way to send batch gets to rest.li via post:
https://linkedin.github.io/rest.li/Send-Rest_li-Request-Query-In-Request-Body

However, this does not seem to be supported by the generated rest.li client. We have opened an issue on rest.li's github to resolve this: linkedin/rest.li#603

To Reproduce
Steps to reproduce the behavior:

  1. Create an entity with 100+ downstream dependencies
  2. Attempt to view that entity in the react app

Expected behavior
This should load as expected

@shirshanka
Copy link
Contributor

Fixed by #2462

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

2 participants