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

preparation for performance improvement by asking server for existence of objects rather than trying to fetch them #8839

Merged
merged 4 commits into from
Apr 29, 2024

Conversation

davidfirst
Copy link
Member

@davidfirst davidfirst commented Apr 26, 2024

This will be actually used once remotes are updated and support the new GraphQL query.
An example of this query:

query HasObjects {
  scope {
    hasObjects(hashes: ["075b5e1d5ab0c81e6a17648cbe966091c8d9bfb1", "075b5e1d5ab0c81e6a17648cbe966091c8d9bfb2"])
  }
}

and a result could be:

{
  "data": {
    "scope": {
      "hasObjects": [
        "075b5e1d5ab0c81e6a17648cbe966091c8d9bfb1"
      ]
    }
  }
}

@davidfirst davidfirst changed the title perf, ask server for existence of objects rather than trying to fetch them preparation for performance improvement by asking server for existence of objects rather than trying to fetch them Apr 29, 2024
@davidfirst davidfirst merged commit 6b346f8 into master Apr 29, 2024
11 checks passed
@davidfirst davidfirst deleted the has-objects-api branch April 29, 2024 15:10
luvkapur pushed a commit that referenced this pull request May 3, 2024
…e of objects rather than trying to fetch them (#8839)

This will be actually used once remotes are updated and support the new
GraphQL query.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants