Bug #347
Synchronization issues when a client is joining/observing a room and room is broadcasting messages.
| Status : | New | Start : | 07/26/2010 | |
| Priority : | Normal | Due date : | ||
| Assigned to : | derek clayton | % Done : | 0% |
|
| Category : | Rooms | |||
| Target version : | Future | |||
Description
A client is "in" the room locally on the server before the client is given knowledge of the room (through u54). This client could receive messages sent to the room (eg. from a room module sending messages to the room) during this gap. When clients receive messages for rooms they are not aware of they could throw an error.
Could also happen with room attributes sent during the gap.
Example:
A = Client joining room thread.
B = RoomModule thread broadcasting "CHAT" messages to room.
A1. Client 1 added to "exampleRoom" list of clients.
B1. "exampleRoom" broadcasts message "CHAT" to room which sends "CHAT" message to client 1.
A2. Client 1 sent u54 giving awareness of the room.
Client will receive the message CHAT prior to receiving the u54.
Also available in: Atom