309
you are viewing a single comment's thread
view the rest of the comments
[-] NickwithaC@lemmy.world 52 points 1 year ago

It really needs to be everything - posts, comments, subscriptions, upvotes/downvotes, blocks, and mod status. It needs to be such that signing in to your account on the new instance is the same as signing into on the old one. It should be so seamless that you can just switch instances just to try out a new one and switch back again if it isn't for you.

[-] muddybulldog@mylemmy.win 47 points 1 year ago* (last edited 1 year ago)

It won’t be anything even close.

Indexes are unique to each instance. Post ID, Comment ID, Vote ID. There’s no way to correlate this information between two instances other than to do a full text match, post by post, comment by comment, vote by vote, to determine if what is being imported already exists on the new instance or is “new”.

Even if you go that route, then there’s the quandaries that follow… if you import what is effectively a “new” post to your new instance, do the comments (which aren’t yours) come along, or do you simply end up importing your post with no interaction history.

Then there is identity. You most likely have a non-local identity on your new server, as a result of federation, how does the new instance know that you are who you say you are, givimg you ownership of any of that existing content as it binds it to your, now, local identity?

That’s just off the top of my head.

If you’re lucky you’ll get to keep your cake day.

[-] Spzi@lemm.ee 2 points 1 year ago

Indexes are unique to each instance. Post ID, Comment ID, Vote ID. There’s no way to correlate this information between two instances other than to do a full text match, post by post, comment by comment

I hope there will be a solution for this. It's so unpractical. The only sane way to link to posts on other instances seems to be to cross-post them.

If you just share a link to a specific post or comment ... people can see it, but unless they happen to have an account on that instance, they cannot interact with it. To do so, you have to search for it, and the search is not reliable.

Why can't post or comment IDs be generated hashes, and each instance uses the same algorithm?

[-] muddybulldog@mylemmy.win 1 points 1 year ago

Someone else did bring up the point that the canonical URL is stored, so that does make correlation a bit easier.

Doesn’t solve the concerns you’ve brought forth. For example, the “I don’t have an account here”. A local instance can correlate a local post to a remote post, being able to provide a “open on original instance” link but it can’t be done the opposite direction, which would relieve this problem.

As for hashing, it too certain what that would gain but at some point there was obviously a decision not to correlate by the message UUID (which would accomplish the same thing). Since I wasn’t in the room can’t say why.

load more comments (9 replies)
load more comments (11 replies)
this post was submitted on 25 Jul 2023
309 points (93.8% liked)

Fediverse

28424 readers
122 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS