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

Dealing with indexed resources that go offline #112

Open
joepio opened this issue Mar 12, 2021 · 0 comments
Open

Dealing with indexed resources that go offline #112

joepio opened this issue Mar 12, 2021 · 0 comments

Comments

@joepio
Copy link
Member

joepio commented Mar 12, 2021

The error below is ocurring because a previously online resource has been removed:

Screenshot 2021-03-12 at 20 40 00

It's showing, because the AtomicData.dev server has an external resource cached in its store, which no longer is online. The client gets the URL to this resource from AtomicData.dev, and then discovers that it does not exist over there.

There are various ways to prevent this kind of issue:

Use the /path endpoint as fallback / primary resolve mechanism

Use IPFS for everything #66

Add a removeLocally endpoint

  • Requires a manual action by the user

Let collections (and tpf queries) default to local resources only

  • Is kind of what you expect to see, most of the time
  • Maybe pass an optional parameter to TPF queries (external=true) to search through all items

Use incoming links / foreign keys updates

@joepio joepio changed the title Removing an external resource from a server Dealing with index resources that go offline Mar 12, 2021
@joepio joepio changed the title Dealing with index resources that go offline Dealing with indexed resources that go offline Mar 12, 2021
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

No branches or pull requests

1 participant