Skip to content

Conversation

aarshkshah1992
Copy link
Contributor

@aarshkshah1992 aarshkshah1992 commented Jul 12, 2022

  • Now that we have automated GC of transients, we need a way for callers to acquire shards with a "GetIfExists" semantics. This enables callers who do not want to pay the cost of downloading the transient to fetch a transient only if it already exists and are okay with erroring out the Acquire if the transient does not already exist.

  • Dagstore.Start(ctx) should respect the given context.

  • Config option to allow clients to specify that shards that were initialising on the previous run can be initialised on the next acquire instead of it always happening eagerly.

@aarshkshah1992 aarshkshah1992 changed the base branch from master to feat/LRU-Garbage-Collection July 12, 2022 09:41
@aarshkshah1992 aarshkshah1992 marked this pull request as draft July 12, 2022 09:41
@aarshkshah1992 aarshkshah1992 changed the title [WIP] Acquire a shard only if the transient for it already exists without downloading it Acquire a shard only if the transient for it already exists without downloading it Jul 12, 2022
@aarshkshah1992 aarshkshah1992 requested a review from raulk July 12, 2022 09:44
@aarshkshah1992 aarshkshah1992 marked this pull request as ready for review July 12, 2022 09:44
@aarshkshah1992 aarshkshah1992 changed the title Acquire a shard only if the transient for it already exists without downloading it Options for more flexibility for clients Sep 20, 2022
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.

1 participant