We have been receiving many reports about intermittent data loss from data stores. Investigating this is our top priority.
If you have experienced this issue, you can help us by providing the following information:
Which of your games were affected?
Links go here
When did you receive reports of player data loss?
Provide specific dates and the number of reports if possible
For the affected keys, which methods do you use (GetAsync, SetAsync, UpdateAsync, etc)?
Do you have any server error logs or any other information which may help?
If you do not want to share this information publicly, you can send it to me in a private message.
Thank you for your patience with us as we resolve this issue.
the only other info I can think of is that I have never gotten reports of a complete data loss in the entire ten month history of my game. currently if a player loads in and doesnāt have any data, i try loading a few more times, after which it is assumed that they donāt have anything saved and are a first time user.
here is the first time join code (roughly):
the āgetStats()ā function in question will do a getAsync call if the cache is empty, otherwise it returns what is in the cache. defaultData() returns a new table which contains the default data structure.
Received reports:
I received a private message on Roblox at Dec 17, 2018 | 12:14 AM (Iām not sure what timezone Roblox messages are, but if it helps - Iām GMT+ 13)
I then later received another report at 29/12/2018, and another one the following day.
Method of saving/loading:
I use GetAsync paired with SetAsync on two data stores.
Logs:
No logs whatsoever, and I thought that this was due to Roblox datastores just getting traffic
When did you receive reports of player data loss?
Starting sometime last night, the 13th. Reports are in the hundreds
For the affected keys, which methods do you use (GetAsync, SetAsync, UpdateAsync, etc)?
GetAsync, SetAsync
Do you have any server error logs or any other information which may help?
Seems to be an issue with GetAsync returning nil when it shouldnāt. The theories regarding caching seem possibly correct.
When did you receive reports of player data loss?
01/07/2019 @ 11:53 PM (report) - 1 person reported losing their data
For the affected keys, which methods do you use (GetAsync, SetAsync, UpdateAsync, etc)?
GetAsync()
UpdateAsync()
Do you have any server error logs or any other information which may help?
Never gotten a report of complete data loss before this. Confirmed that the user only lost their stats, and no their boats (separate keys).
I can give access to my source code with a Github username.
For about a week and a half Iāve been getting reports, at this point probably close to +100
The game uses stravants PlayerDataStore module, the one on the wiki
Output frequently shows the data throttled warning but nothing else
Maybe this is worth looking into? A lot of developers, myself included, have been getting this throttling warning. I believe the throttling may be happening for another reason, as my code shouldnāt ever try to save the same key twice within 7 seconds (the documented reason for this throttle warning to appear). Other devs are in the same boat.
I donāt have any issues with DS right now but I honestly appreciate the fact that you guys are making this top priority right now. Keep up the good work!
When did you receive reports of player data loss?
On the 9th around a dozen or so players all lost their data between the hours of 3 am and 9 am EST. I implemented a failsafe for loading data later that day which may have prevented any further loss since then.
For the affected keys, which methods do you use (GetAsync, SetAsync, UpdateAsync, etc)?
Get and Set
Do you have any server error logs or any other information which may help?
Iāve been getting this error recently when trying to SetAsync, but no errors with Get:
502: API Services rejected request with error. HTTP 0 (HTTP 500 (HTTP/1.1 500 Internal Server Error))
If I remember correctly, there was also occasionally a 5xx error when using Get on the 7th. I havenāt seen it again since then.
Reports received:
Starting around January 2nd, I received my first reports. I myself noticed data loss first on January 5th. I received approximately 20 reports so far, but Iām positive that thereāve been many more players losing their data.
Logs / information
I donāt have any stored server logs. I did some debugging however and figured the data stores would return nil upon first call without erroring or throttling once at all.
Furthermore, I once launched a VIP server and the data stores appeared to continuously fail on that one specific server. Player data, playlist, leaderboards, etc didnāt load at all, not even after retrying about a minute later. Everything worked fine after restarting the server.
Thank you to everyone who provided information about the issue! We have released a fix and are working on a plan for restoring lost data. See my latest post in Data Stores Data Loss Issue - #35 by Seranok for more details.
Hi, Iāve had multiple players ask about getting their data restored after being wiped. I havenāt came out and provided information on if data can be restored or not at this time because I didnāt know if there would be some sort of data store rollback or something of the nature. I saw you say something along the lines of wanting to help developers restore data, what do I need to do to get some help with that?