Would you like to check if ClusterdRoom.getOccupantsCount() is implemented correctly (to be honest Room.getOccupantsCount() is used currently)?
Make sure it returns number of occupants in room calculated globally (not only on current cluster node).
Andrzej Wójcik (Tigase) commented 9 years ago
I checked implementation of getOccupantsCount() method in RoomClustered class and as you mentioned method from Room class was used.
I added proper implementation of this method to getOccupantsCount() to return number of room occupants from all cluster nodes and verified that nowhere in code this method was expected to return number of occupants from single cluster node.
Would you like to check if
ClusterdRoom.getOccupantsCount()
is implemented correctly (to be honestRoom.getOccupantsCount()
is used currently)?Make sure it returns number of occupants in room calculated globally (not only on current cluster node).