lunixbochs / uberserver

matchmaking/chat lobby server for the spring rts project
MIT License
8 stars 4 forks source link

data loss (user accounts) #6

Closed abma closed 10 years ago

abma commented 13 years ago

i guess its because of a non-gracefully restart

for example see: http://springrts.com/phpbb/viewtopic.php?f=11&t=26593&p=497144

also the .txt file for storing accounts should be abandoned , use a database!

lunixbochs commented 13 years ago

it's because the IO performance on the server degrades so badly.

database functionality is already working (it was originally designed without direct accounts.txt support, which was only added to ease transitions), but a database won't be used as long as it's on the current physical server (the source of these problems...)

I need to build a simple proxy and get the lobby authors to change their primary server hostname before I feel comfortable migrating the lobby to my own dedicated server without these IO problems.

abma commented 12 years ago

can you switch to mysql on the current server?

at the last restart yesterday, licho had some problems, because some user-accounts disappeared... (it was a clean restart!)

it looked like only very old accounts worked / only accounts that where not active at the time of the reboot.

all these problems are imo because of the plain textfile.

lunixbochs commented 12 years ago

dusting off the migration script.

On Monday, May 14, 2012 at 4:39 PM, abma wrote:

can you switch to mysql on the current server?

at the last restart yesterday, licho had some problems, because some user-accounts disappeared... (it was a clean restart!)

it looked like only very old accounts worked / only accounts that where not active at the time of the reboot.

all these problems are imo because of the plain textfile.


Reply to this email directly or view it on GitHub: https://github.com/lunixbochs/uberserver/issues/6#issuecomment-5704097

abma commented 12 years ago

any news?

lunixbochs commented 12 years ago

80f7688

abma commented 10 years ago

fixed in my repo: https://github.com/spring/uberserver/commits/master

main server runs now with sql as backend.