forum.webdiplomacy.net

webDip dev coordination forum / public access todo list
It is currently Sun May 27, 2018 9:29 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Apr 24, 2009 10:51 pm 
Offline

Joined: Fri Apr 24, 2009 10:47 pm
Posts: 2
In this game:

http://phpdiplomacy.net/board.php?gameID=10316

One of the players has managed to join twice.

Will this be corrected when the game starts? Is there a way to remove the duplicate?

(Password is 'maggie', it's in place to keep the game among friends, so please don't join).


Top
 Profile  
 
PostPosted: Sat Apr 25, 2009 8:26 am 
Offline
Site Admin

Joined: Sat Jun 28, 2008 6:24 am
Posts: 892
This should be fixed now, and I finally think Ive tracked the multi-join problem down at long last :)


(For future reference when I get around to fixing this: the read-only lock "LOCK IN SHARE MODE" gets the current record from outside the transaction, but read-write lock "FOR UPDATE" doesn't. The locking ensures users always join one at a time, but once one has joined the next one doesn't have the changed data, so another join will occur based on bad info.)


Top
 Profile  
 
PostPosted: Sun Apr 26, 2009 3:59 pm 
Offline

Joined: Fri Apr 24, 2009 10:47 pm
Posts: 2
Great, thanks kestasjk for the quick reply.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group