unitedworldwrestling / arena-public

14 stars 5 forks source link

Synchronization issue. #92

Open susquach opened 2 years ago

susquach commented 2 years ago

Which application you are experiencing a problem with Arena 1.5.81

Describe the bug Results not synchronized between Client and Master

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '...
  4. See error

Expected behavior Competition completed on client server, when I check on Master there are still matches to go. When I try to apply changes from Client to Master the screen comes back and no changes are pushed.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Thinking possible performance issue with Client Machine as during the competition the system was constantly timing out when trying to check matches and scoreboard would have trouble sending results to Arena. Client machine is Surface Pro 5 (i5 8GB RAM 256GB HDD)

Client Arena: image image

Master Arena: image

csabavirag commented 2 years ago

I can take a look remotely. Send an email to the UWW IT mail address and we can discuss the details.

csabavirag commented 2 years ago

If you want to send the data from the client to the master after the event is finished (later than the Event's end date setting), please make sure "Stop accepting sync after End Date + x days" value is high enough to finish the synchronization.

This setting is "0 days" by default, that means if the event is configured to end on 01-May-2022, Master will not accept synchronization messages from the client starting from 02-May. Thus if you want to apply the client differences on 03-May, you must adjust this setting on Master to at least "2 days".

I would recommend to temporarily alter this value to eg. 100, complete the compare and apply changes, finally set it back to 0 again. That was any further accidental update happened on the client will not get synced to the Master.