This repository was archived by the owner on Jan 8, 2026. It is now read-only.
Conversation
This was referenced Nov 1, 2018
Closed
Merged
Contributor
|
I love that we have a selectors proposal before we have a finished IPLD Paths spec :) |
Contributor
|
One thing this has me thinking about is how we might implement a better pin/gc API. For most use cases I can think of, you usually want to store a selector, or set of selectors, of a given CID. Later, you likely want to replace the CID for that pin, causing a sync against the new graph. If we had an API that actually replaces the CID for a pin we can actually calculate the orphaned nodes and perform a simpler/faster GC of just those blocks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've been working on an IPLD Selectors proposal. It aims to be very small, while synthesizing a lot of what we've been discussing over time.
Notes:
./selectors/selectors.mdin this repo, following what's in other concurrent PRs in this repo. Feel free to move it as you see fit. (directory because it includes an image)(A)in case concurrent/competing selector proposals show up and this one needs to be referred to separately.Proposal Status: