-
Notifications
You must be signed in to change notification settings - Fork 1
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
Determine how to use a staged sync approach #49
Comments
Do authstore, records and blobs have different replication mechanisms? |
@tomasciccola so far replication in authstore and datastore has been the same: basically just exposing the |
So, corestore namespaces sync separately. In fact cores inside a store do to. Yo need to explicitly ask for a core public key to get it. I thought that maybe passing the master key of a corestore to another peer would replicate every core in that store but doesn't seem to be the case. |
Cool. The tricky thing I was just looking at is that it seems there's not a way to cleanly get a list of keys that are in a corestore namespace, so to be able to replicate only the keys that are in authstore for example we'll need to keep a list of those somewhere. Maybe a sqlite table that has three columns: |
@tomasciccola If it sounds good to you maybe you could make a new branch (branched from the authstore branch rather than main) and put together something like:
Then we'll be able to use that as the source of keys that we exchange with peers before syncing in each stage. |
so, here's some progress on this. The only thing is that the sqlite.query wrapper is expected to return a Doc which doesn't match the proposed table of |
I've created this issue to track this specific task |
We'll be syncing data in a few stages:
questions to answer:
The text was updated successfully, but these errors were encountered: