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

Feat/port lotus dm selector retrieval 6393 to estuary #5

Closed

Conversation

ribasushi
Copy link
Collaborator

@whyrusleeping needs more work on the edges, but you should be able to get it from here

replication.go Outdated
prog.endErr = err
return err
}

// FIXME need to do something with this
panic(contentRoot)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eh?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you do a partial retrieval - you get a new CID for your sub-dag. The client doesn't know what it is, just the path to it. The code pulls it out for you by re-running the selector, and then you do... something with it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@whyrusleeping an alternative would be to run the selector-over-your BS lazily, when the user requests their data back. Then changing the functions args won't be needed.

It is currently done this way to minimize the amount of time for GC ( since you can't pin the partial dag )...

Dunno - thoughts welcome.

@ribasushi ribasushi force-pushed the feat/port_lotus-dm-selector-retrieval_6393_to_estuary branch from 699ea2f to c3292cb Compare July 11, 2021 10:25
@ribasushi
Copy link
Collaborator Author

@ribasushi
Copy link
Collaborator Author

@whyrusleeping this bad boy is brought up to master again. Do you want to merge it, FIXMEs included, or wanna think more?

@ribasushi
Copy link
Collaborator Author

I will keep this out until we land the graphsync upgrade in lotus, to minimize churn. Will reopen in couple weeks when the time is right.

@ribasushi ribasushi closed this Jul 25, 2021
hannahhoward pushed a commit to hannahhoward/estuary that referenced this pull request Sep 9, 2021
…eat/graphsync-opts

update some memory limits for the graphsync client
@en0ma en0ma deleted the feat/port_lotus-dm-selector-retrieval_6393_to_estuary branch May 31, 2022 10:44
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.

2 participants