this post was submitted on 09 Jun 2023
32 points (100.0% liked)

Lemmy Support

4696 readers
4 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

What information does a Lemmy server collect about its users?

When I delete a comment or post, is it truly deleted on the server?

Do deletions also propagate to federated servers?

top 26 comments
sorted by: hot top controversial new old
[–] nutomic@lemmy.ml 10 points 2 years ago* (last edited 2 years ago)

There is no tracking built into Lemmy, however servers log IP addresses by default.

Posts and comments are not deleted from the server to allow restoring them later. However if you make an edit, it completely overwrites the content. Deleting the user account also deletes all content. Deletions are federated, but because this is a distributed system, there is no guarantee that deletions (or other actions) reach other instances.

[–] shreddy_scientist@lemmy.ml 6 points 2 years ago* (last edited 2 years ago)

Great question, I've noticed post are removed while comments remain but have [deleted] in the comment space. Not too sure what to make of it and curious to see the answer

[–] ptz@dubvee.org 4 points 2 years ago* (last edited 2 years ago) (4 children)

I'm going to run a quick test and see if I can't answer a couple of those.

Edit:

Results:

I posted two comments to this thread and then deleted one of them. When I checked the database entries corresponding to this post, the comment I deleted is still in the comments table but there is a delete flag set after I deleted it.

So, it appears that deleting a comment just toggles a "deleted" flag in the database. It seems to be intentional as I'm able to undelete the comment from the Lemmy UI.

I deleted and undeleted a post on my own instance, and yes, posts are treated the same: delete flag with the original post still available in the DB.

It's also worth noting that when a comment is removed by a moderator, the comment shows in the modlog. Again, I believe this is intentional.

@TheBaldness (or anyone, really): If you could, can you add a new comment to this post and then delete it? My instance would be a federated one to yours, so I can check the DB to see if it handles federated comments the same as one locally. I'm assuming that it does.

[–] TheBaldness@beehaw.org 1 points 2 years ago
[–] TheBaldness@beehaw.org 1 points 2 years ago

Created a new top-level comment and deleted it.

[–] pe1uca@lemmy.pe1uca.dev 1 points 2 years ago

Comment to delete in a couple of minutes

[–] pe1uca@lemmy.pe1uca.dev 1 points 2 years ago* (last edited 2 years ago) (2 children)

I would like to know!
I'll make another comment and delete it in a couple of minutes

Edit: I deleted the other comment

[–] pumpkin@sh.itjust.works 1 points 2 years ago

Interestingly it doesn't suggest it's deleted at all for me. Im using the android Jerboa app so maybe that's why

[–] cablepick@lemmy.cablepick.net 1 points 2 years ago (1 children)

Is this the comment you deleted? I see it on my own instance in the thread.

[–] pe1uca@lemmy.pe1uca.dev 1 points 2 years ago

Yeah, on my instance it says it's deleted, I commented this in the github repo.

[–] 14specks@lemmy.ml 2 points 2 years ago (1 children)

It is possible that deletions will not propagate to other servers if they are running a forked version of the software.

[–] TheBaldness@beehaw.org 2 points 2 years ago

Yes, but I'm wondering what the expected behavior is.

[–] guildz@lemmy.blahaj.zone 2 points 2 years ago* (last edited 2 years ago) (1 children)

It seems simliar to how reddit handles it where the comments just get a flag attached to them and the text is still stored. There was some hubbaloo about it a few years ago where people were saying to edit your comments first on reddit before deleting them

[–] TheBaldness@beehaw.org 3 points 2 years ago

Yeah, that's what it's looking like. It's a bit concerning because the Lemmy devs didn't have to do it that way. They could just mark content as deleted and then zero-out all the fields to default values. I wonder what their reasoning was for not doing it that way.

[–] theory@sopuli.xyz 1 points 2 years ago (1 children)

Nothing on the internet is ever truly deleted. Surely you know this by now?

[–] TheBaldness@beehaw.org 6 points 2 years ago (1 children)

Yes, but I want to know what the code actually says, and I probably can't figure it out for myself, so I'm asking.

[–] Mac@lemmy.world 1 points 2 years ago

And there is absolutely nothing wrong with that.

[–] ptz@dubvee.org 1 points 2 years ago (1 children)

I'm going to delete this comment.

[–] pe1uca@lemmy.pe1uca.dev 1 points 2 years ago (1 children)

Do you still have this comment deleted?
Or am I seeing it because you restored it?

[–] ptz@dubvee.org 1 points 2 years ago (1 children)

I restored it and then deleted it again. On my end, it shows "deleted by creator".

Do you still see my original comment?

[–] pe1uca@lemmy.pe1uca.dev 2 points 2 years ago (1 children)

Yep, I'm seeing it as if nothing had happened.
Both in jeroba and the web UI.

[–] ptz@dubvee.org 1 points 2 years ago (1 children)

Interesting. It still shows as deleted in my DB.

I'm not sure if that's a bug or not. I'm seeing a lot of rate_limit_error in my logs, so I'm not 100% sure there's not some issue on my end.

[–] TheBaldness@beehaw.org 1 points 2 years ago (1 children)

I'm going to delete this comment.

[–] ptz@dubvee.org 3 points 2 years ago* (last edited 2 years ago) (1 children)

That comment is still showing normally for me and isn't flagged as "deleted" in the DB.

I've had to restart my instance and block a spammy IP. I'm still learning how the rate limits work in lemmy, and my server logs were just flooded with rate_limit_errors for the last 45 minutes or so. Finally just blocked that IP as its traffic pattern didn't match any other Lemmy servers/clients. That said, my server may have missed some announcement messages or something. I dunno.

On another note, I did leave a comment somewhere the other day and deleted it because I realized I sounded stupid. Someone replied to it a day later. I also deleted, restored, and re-deleted a test comment in this thread that someone else said was still visible, so I'm guessing that one of a few things could be the case:

  1. Sometimes comment/post deletions don't federate out/in
  2. There could be something up with my instance
  3. There's some other factor at play.
  4. There's a bug somewhere

I've got to get to bed, so that's as far as I dive into this tonight.

[–] TheBaldness@beehaw.org 2 points 2 years ago

Thanks for working on this!

load more comments
view more: next ›