184
submitted 10 months ago by JoShmoe@programming.dev to c/asklemmy@lemmy.ml

Am I gonna die?

you are viewing a single comment's thread
view the rest of the comments
[-] luthis@lemmy.nz 14 points 10 months ago

You just hit the delete key one too many times, so there is a pending 'delete' action that will apply to the next email to arrive.

[-] JoShmoe@programming.dev 6 points 10 months ago

I understand how that would work. However, I haven’t deleted anything.

I'm guessing someone who has been deleted (spammer?) sent you a PM after you already cleared your notifications. The notification counter goes down to -1, the app sees notification_count != 0 and draws a special little marker for the negative notification count.

Hopefully the problem will fix itself next time you get a notification. If this isn't what happened, I have no idea how you would fix this without database access. Ask the server admins in that case, I guess.

[-] JoShmoe@programming.dev 3 points 10 months ago

It went away when I cleared my unread messages.

[-] uis@lemmy.world 2 points 10 months ago

One heck of race condition. Rust mean safe as corroded metal.

Rust means safe as in memory safety. Humans are fallible, you can still have database bugs, no matter the programming language.

this post was submitted on 21 Dec 2023
184 points (95.5% liked)

Asklemmy

43719 readers
1261 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS