Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 03be7e275a use fix's time point as time interval bounds in case no older or no newer fix is found, respectively 2012-06-29 18:32:29 +02:00
Axel Uhl 0f9c92fa0c tweaked synchronization and locking to reduce wait times 2012-06-29 17:51:52 +02:00
Axel Uhl cf0f19999d notify listeners while still holding the write lock in CourseImpl 2012-06-29 13:25:01 +02:00
Axel Uhl 2dac75da97 added more missing locking to replication tests 2012-06-29 13:05:47 +02:00
Axel Uhl e5b1262768 manage cancellation of maneuver cache recalculation futures 2012-06-29 12:59:25 +02:00
Axel Uhl 64c32db47a added more locking to expeditionconnector test case 2012-06-29 12:38:20 +02:00
Axel Uhl c18b212ef6 obtain course read lock before serializing TrackedRace 2012-06-29 11:33:56 +02:00
Axel Uhl 6c14f408f3 fixing bug 828 by introducing reentrant read/write lock on Course and using it to protect leg access against concurrent course modification 2012-06-29 11:23:20 +02:00
Axel Uhl 094b337bf4 added more missing locking to test cases 2012-06-29 11:14:05 +02:00
Axel Uhl d70c4f12dd added more necessary logging to SwissTiming test 2012-06-29 10:54:50 +02:00
Axel Uhl a155637a1a finally fixing bug 567: swiss timing tests have two different competitor lists, getting cached by sail ID; fixed 2012-06-29 10:50:00 +02:00
Axel Uhl d51b6b3e19 fixed locking in Mongo tests; made SwissTiming StoreAndForward robust against concurrent database drops 2012-06-29 10:18:31 +02:00
Axel Uhl bcacf0b81a added more necessary locking to tests 2012-06-29 10:10:09 +02:00
Axel Uhl 73c3d8805e use Future in direction of first leg cache to avoid needing to synchronize on the cache during the calculation 2012-06-29 09:53:03 +02:00
Axel Uhl 4f44e7188f synchronize writeObject to avoid concurrent modification exception during serialization 2012-06-28 22:50:31 +02:00
Axel Uhl 9f8000b33d pass on a NoWindException from maneuver analysis if tack cannot be determined 2012-06-28 22:17:11 +02:00
Axel Uhl aeb8a672c6 optionally delay maneuver cache updates; optionally respond from stale maneuver cache 2012-06-28 18:19:43 +02:00
Axel Uhl f6f5e7e85b added use of track lock instead of synchronization where missing 2012-06-28 15:05:29 +02:00
Axel Uhl 14ac9978b4 more lock handling in test cases 2012-06-28 14:21:40 +02:00
Axel Uhl 7e9b5910f1 added more missing lock handling to test cases 2012-06-28 14:09:27 +02:00
Axel Uhl e7785506c9 added lock management to test cases 2012-06-28 14:06:45 +02:00
Axel Uhl 64f3d4c2dd use ReentrantReadWriteLock on TrackImpl and all subclasses to increase concurrency while maintaining consistency 2012-06-28 14:00:39 +02:00
Axel Uhl 71d48e92a3 avoid NPE in TracTracRaceTrackerImpl; use ReadWriteLock in CourseImpl 2012-06-28 11:01:45 +02:00
Axel Uhl 430b6ddbe1 added "embedded" parameter also to Leaderboard.html entry point 2012-06-26 16:25:00 +02:00
Axel Uhl 8ba4adb21b fixing simulator behavior regarding the fetching and translating of static start/stop tracking times 2012-06-26 15:03:49 +02:00
Axel Uhl c8bd62b18f fixing bug 819: evaluate filter condition when re-loading leaderboard config page contents 2012-06-26 14:37:57 +02:00
Axel Uhl adc783a4bb use a second Executor instance in SailingServiceImpl to avoid a deadlock across FutureTasks waiting in the same Executor 2012-06-26 14:12:32 +02:00
Axel Uhl fd08026e18 fixing bug 820: another concurrent modification exception, this time unsynchronized access to markPassingsTimes cache 2012-06-26 13:07:02 +02:00
Axel Uhl e99f58e393 added Kieler Woche 2012 URLs 2012-06-26 10:22:10 +02:00
Axel Uhl f543e4de8b Merge remote-tracking branch 'server/mak-playbutton' 2012-06-26 09:18:58 +02:00
Axel Uhl 85a096e303 added TODO comment regarding bug 596 2012-06-26 09:18:23 +02:00
Axel Uhl a8081f71fc fixing bug 815 by adding synchronization for raceTrackersByRegatta 2012-06-25 17:21:12 +02:00
Axel Uhl 0d35aa348c fixing bug 796: concurrent modification exception during leaderboard group updates 2012-06-25 13:23:33 +02:00
Axel Uhl 78e380375b latest export of official results of Kieler Woche 2012 2012-06-25 13:23:19 +02:00
Axel Uhl 1601a2ed9e completed work on bug 811, setting table max row count to 10000 consistently 2012-06-25 10:03:37 +02:00
Axel Uhl 7a99a4d2f5 use multiple geonames.org accounts 2012-06-23 19:58:20 +02:00
Axel Uhl 12cb23d3ca wind measurement was missing in what was believed to be wind messages 2012-06-23 01:05:49 +02:00
Axel Uhl 4dc7b88684 send messages in one go 2012-06-23 00:49:41 +02:00
Axel Uhl 1788d436d7 gradually fixing UDP test case 2012-06-23 00:47:40 +02:00
Axel Uhl 9575133bad to fix new expedition test, also allow for invalid messages 2012-06-23 00:40:30 +02:00
Axel Uhl 79b22c37b5 fixed bug 808 regarding the seemingly randomjumps of expedition positions 2012-06-23 00:14:32 +02:00
Axel Uhl f2b28d9f39 Merge remote-tracking branch 'server/master' 2012-06-22 23:45:20 +02:00
Axel Uhl b528a7a7c0 factored out those parts that get along without instance members 2012-06-22 23:41:57 +02:00
Axel Uhl 4273cfb473 compact wind implementation that can also handle null components 2012-06-22 23:13:27 +02:00
Axel Uhl 3f066c31a2 implemented bug 806: compact wind fixes in WindTrackImpl 2012-06-22 21:33:10 +02:00
Axel Uhl ecf9fb33c3 avoid NPE in refactored caching-based race details calculation 2012-06-22 21:14:49 +02:00
Axel Uhl 598b3875dc also caching the race details together with the leg details 2012-06-22 21:09:23 +02:00
Axel Uhl ec60f17752 caching the leg details in SailingServiceImpl 2012-06-22 20:33:00 +02:00
Axel Uhl 1463952e51 added a test case for the *20,02 score in Kieler Woche export 2012-06-22 17:15:29 +02:00
Axel Uhl 9e78509211 Fixing bug 803: import looked for a full match and not a partial match, so didn't find *20,02 2012-06-22 11:41:54 +02:00
Axel Uhl 5294fed0fc whitespace change only 2012-06-21 23:48:00 +02:00
Axel Uhl 61d03c88cc Merge remote-tracking branch 'server/master' 2012-06-21 21:59:55 +02:00
Axel Uhl 51d6c6d8cc use "now" as start time point for mark positions if tracking start is in the future 2012-06-21 21:59:20 +02:00
Axel Uhl 5b631f6b3f still less synchronization 2012-06-21 16:17:25 +02:00
Axel Uhl 908ab5e1db removed lots of synchronization on wind tracks; let's hope there won't be too many CMEs... 2012-06-21 15:43:23 +02:00
Axel Uhl caac0cb185 fixed import of medal race column score corrections; parse (*12,00) correctly in KiWo exports 2012-06-20 19:00:24 +02:00
Axel Uhl f2034ab41a added lazy activation policy for persistence bundle 2012-06-20 17:46:26 +02:00
Axel Uhl b79c150426 Merge remote-tracking branch 'server/master'
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
2012-06-20 17:38:02 +02:00
Axel Uhl aafc044306 bug 798: made getGapToLeader safe against concurrent leg structure modifications. Generally, be more tolerant
in the management of markPassingsForWaypoints; create if not there instead of failing with null when receiving a mark passing
2012-06-20 17:35:05 +02:00
Axel Uhl e879722ce8 Merge remote-tracking branch 'server/master' 2012-06-20 09:52:11 +02:00
Axel Uhl 7914d6b95d incremental wind estimation cache refresh 2012-06-20 09:10:18 +02:00
Axel Uhl 1565e12e43 attempt at incrementally refreshing the wind estimation cache instead of entirely removing interval's contents 2012-06-19 16:11:04 +02:00
Axel Uhl 3cd358b24a secured against disappearing legs and the resulting NPEs (bug 794) 2012-06-19 11:47:28 +02:00
Axel Uhl a5fde4f8f8 reduced timeout for waiting for race from 5min to 30s 2012-06-19 10:55:03 +02:00
Axel Uhl 5bc98d749c minor rename in cache invalidation for wind estimation 2012-06-19 10:32:56 +02:00
Axel Uhl f2613eb77a caching windward distances to go in comparator so they are computed as most once per sort 2012-06-19 09:30:12 +02:00
Axel Uhl 51f7e32f7e fixed delayed delivery of mark passing events; using a Timer; seems to roughly work. Now profiling needs to be done. 2012-06-19 00:44:34 +02:00
Axel Uhl 4c0b69e71d first compilable yet entirely untested version of a TracTrac simulator 2012-06-18 21:12:37 +02:00
Axel Uhl 1e01668a69 work towards a TracTrac simulator 2012-06-18 20:29:51 +02:00
Axel Uhl ac854bb314 parse KiWo score correction date using 0-23 times 2012-06-18 19:32:32 +02:00
Axel Uhl afe7746d71 pass through a "simulation" parameter for the TracTrac tracker; doesn't do anything yet 2012-06-18 18:20:36 +02:00
Axel Uhl 36e9e34d5e Merge branch 'master' into fix 2012-06-18 17:14:44 +02:00
Axel Uhl a2e90d53c9 fixed deadlock 2012-06-18 17:14:33 +02:00
Axel Uhl e3fc2e760b fixed CME / deadlock 2012-06-18 17:05:00 +02:00
Axel Uhl 4d9fee7830 Merge remote-tracking branch 'server/master' 2012-06-18 17:03:14 +02:00
Axel Uhl 5394740bd9 try to avoid deadlock 2012-06-18 17:00:20 +02:00
Axel Uhl 957cb5738a caching competitor results in leaderboard competitor so that for one time point all scores only need to be computed once 2012-06-18 12:50:51 +02:00
Axel Uhl fc41de7a51 solving bug 785 by cloning the WindSources collection 2012-06-18 09:49:41 +02:00
Axel Uhl f7aef32b74 avoid duplicate leaderboard updates upon initial load 2012-06-18 01:49:16 +02:00
Axel Uhl 3d12f0191d avoiding NPE in getLastMarkPassingTime and getFirstMarkPassingTime 2012-06-17 12:44:47 +02:00
Axel Uhl 6a402a35ad fixed bug 790: auto-expand of first column shall only expand pre-selected race, and only once 2012-06-17 10:22:43 +02:00
Axel Uhl 3baf4046ac clear competitor cache in leaderboard before propagating events; seems safer 2012-06-17 02:04:41 +02:00
Axel Uhl 02cb51fde6 trying to improve performance by making RaceDefinition.getCompetitors().contains(...) faster using LinkedHashSet 2012-06-17 01:58:49 +02:00
Axel Uhl 15edc88887 fixed a few performance issues with leaderboard computation 2012-06-17 01:42:53 +02:00
Axel Uhl f67ad453be pass on showRaceDetails URL parameter consistently 2012-06-17 01:22:14 +02:00
Axel Uhl 348588816f require showRaceDetails=true to allow for showing race details in leaderboard group overview 2012-06-17 00:54:56 +02:00
Axel Uhl e84ed4cc9c removed distinction between horizontal and vertical layout 2012-06-17 00:27:14 +02:00
Axel Uhl 6e0bb9f321 Merge remote-tracking branch 'server/master'
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/spectator/LeaderboardGroupPanel.java
2012-06-17 00:24:13 +02:00
Axel Uhl 1affdaf3e3 don't show a single fleet name in leaderboard group page if the fleet doesn't have a color 2012-06-17 00:22:51 +02:00
Axel Uhl 54c0899c5b That was it for the Default Leaderboard panel in the AdminConsole;
For large servers it is really dangerous to query the default leaderboard because it will start
ranking all competitors of all races relative to each other
2012-06-17 00:09:41 +02:00
Axel Uhl c668638d1b added null check to fix bug 783 2012-06-16 23:37:12 +02:00
Axel Uhl 34f79bce3f Merge remote-tracking branch 'server/master' 2012-06-16 23:24:25 +02:00
Axel Uhl 52df381b50 second part of correct sorting of score corrections list 2012-06-16 23:23:11 +02:00
Axel Uhl b4bc71d1d6 fixed sorting of official results: newest go first 2012-06-16 22:26:35 +02:00
Axel Uhl ba6a2c7da0 fixing bug 773: waiting only for some time for the RaceDefinition; if wrong regatta, tracker stops 2012-06-16 21:58:05 +02:00
Axel Uhl 045be2e12a fixed NPE in finding official results for race columns for which no results exist yet 2012-06-16 14:57:22 +02:00
Axel Uhl deff935b42 fixed inverted embedded check for LeaderboardGroupPanel 2012-06-16 12:19:10 +02:00
Axel Uhl 9422d904f7 also use target=_blank now for race buttons in horizontal mode 2012-06-16 11:29:13 +02:00
Axel Uhl 74f60849a8 removed unused import 2012-06-16 11:26:05 +02:00
Axel Uhl 2e71ed0e37 removed padding and group details in embedded mode 2012-06-16 10:12:54 +02:00