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

ddb.ResolveTag latency results in timeouts on DoltHub #8755

Open
coffeegoddd opened this issue Jan 15, 2025 · 0 comments
Open

ddb.ResolveTag latency results in timeouts on DoltHub #8755

coffeegoddd opened this issue Jan 15, 2025 · 0 comments
Labels
dolthub Please submit to our dolthub.com issues repo dolthub/dolthub-issues.

Comments

@coffeegoddd
Copy link
Contributor

ddb.ResolveTag is slow for DoltHub databases with a large number of tags.

Latency appears to come from:

ds, err := ddb.db.GetDataset(ctx, tagRef.String())
if err != nil {
  return nil, ErrTagNotFound
}
dc, err := datas.LoadCommitAddr(ctx, vrw, commitAddr)
if err != nil {
  return nil, err
}
commit, err := NewCommit(ctx, vrw, ns, dc)
if err != nil {
  return nil, err
}

each of which can have variable latency from 300-700ms.

@coffeegoddd coffeegoddd added the dolthub Please submit to our dolthub.com issues repo dolthub/dolthub-issues. label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dolthub Please submit to our dolthub.com issues repo dolthub/dolthub-issues.
Projects
None yet
Development

No branches or pull requests

1 participant