this post was submitted on 26 Oct 2021
13 points (100.0% liked)

Lemmy

12823 readers
2 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to [email protected].

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 3 years ago (1 children)

OK I got some time to properly test this, this happens because you can mark a comment as deleted even if it's already marked as such. and the db trigger happens every time value of deleted is updated regardless of previous state

[–] [email protected] 5 points 3 years ago (1 children)

This also means I can inflate the number of comments by marking deleted as false repeatedly

[–] [email protected] 1 points 3 years ago (1 children)

Thanks for figuring it out. Could you please open an issue?