Datastore broke after yesterdays server issues

Okay, so this might be one of the weirdest things I’ve experienced. Yesterday, roblox went down twice and did some crazy stuff to basically everything, including data stores.

All my number stats saved fine (I think) but I’ve got hats and upgrades as well. These are objects which names I store in datastore then copy from replicated storage on startup. For some reason the upgrades just got completely reset, the hats on the other hand ended up even weirder. I add numbers to the end of the name for every hat a player owns to allow for each hat to be it’s own item. Now all hats that were saved prior to the shutdown lost those numbers, if I equip one of those hats all of them equip now because they all have the same name somehow. Today, without Roblox being dead, I’ve collected a few more hats in my game and they have been saving completely fine, same with my upgrades and number stats.

Does anyone know what even caused this and if it might happen anytime Roblox has issues? I have been using updateAsync() for everything, should I setAsync() for those non-number value items, or is there something else to prevent this? Luckily this was only on my test server but I don’t want this happening on the actual game.