Commit Graph
100 Commits
Author SHA1 Message Date
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
Axel Uhl 09769677bc show even less of LeaderboardGroup stuff in embedded mode 2012-06-16 10:05:54 +02:00
Axel Uhl 004e6fb456 added missing NUmberFormatterFactory 2012-06-16 09:25:48 +02:00
Axel Uhl 1cc409f92e added "embedded" parameter to the Spectator entry point 2012-06-16 09:00:54 +02:00
Axel Uhl d14448b2c0 fixing bug 780; by default, don't show maneuvers upon competitor click on map; new leaderboard column defaults 2012-06-16 01:22:50 +02:00
Axel Uhl 027d33c333 bug 774: rounding of boat bubble popup 2012-06-15 23:44:58 +02:00
Axel Uhl 41ab835868 re-enabled test case because special serializable class replaced by Throwable 2012-06-15 17:34:51 +02:00
Axel Uhl 3c30ed9433 Merge remote-tracking branch 'server/master' 2012-06-15 17:29:23 +02:00
Axel Uhl 88267d2256 ignoring new test that fails in OSGi environment due to class loading exceptions; need to get prod1 up... 2012-06-15 17:27:51 +02:00
Axel Uhl 9c0f734ba6 Merge remote-tracking branch 'server/master' 2012-06-15 14:03:25 +02:00
Axel Uhl a5fc4a0492 extracted serializable class to ensure it's found in an OSGi setup 2012-06-15 14:00:25 +02:00
Axel Uhl c70927eed0 added a test case for bug 769 which fails without the previous fix and now passes 2012-06-15 10:33:52 +02:00
Axel Uhl 89289ff0e5 added isCorrected to LeaderboardJsonExport for entries 2012-06-15 09:46:34 +02:00
Axel Uhl eb7a8f4050 clear server state entirely before starting to import initial load;
particularly registering the replica service for tracked race additions in order to auto-link them
to leaderboards causes trouble if the server state is not cleared before. Replicated tracked races may
then get auto-linked to old leaderboards and regattas in the server that happen to point to races with
equal RaceIdentifiers.

Also, it is important to become tolerant against a non-existing default leaderboard which doesn't exist
yet when tracked races are imported. The default leaderboard will be replicated together with other
leaderboards.
2012-06-15 01:43:07 +02:00
Axel Uhl d7ca838eb6 added com.sap.sailing.persistence to the dependencies of com.sap.sailing.server.replication; fixed class loading
During replication initial load a ClassNotFoundException was thrown because DelayedLeaderboardScoreCorrections
wasn't found. One problem was that obviously the Thread's context class loader set from getClass().getClassLoader()
was "only" the default class loader, not knowing about the OSGi bundle dependencies. Furthermore, the replication
bundle did not have a dependency on the domain.persistence bundle.
2012-06-15 00:14:38 +02:00
Axel Uhl 72446ef372 Merge remote-tracking branch 'server/master' 2012-06-14 22:45:56 +02:00
Axel Uhl 53e4c62814 use competitor now introduced in mark passing events instead of relying on a MarkPassing to be in the list 2012-06-14 22:21:12 +02:00
Axel Uhl 63ab846f0d added competitor to change notification about mark passing events 2012-06-14 22:20:38 +02:00
Axel Uhl d3bd984cbe fixing bug 766: not serializing TrackedRaceRegistry / RacingEventService 2012-06-14 20:11:03 +02:00
Axel Uhl 2d12468859 Merge remote-tracking branch 'server/master' 2012-06-14 12:00:50 +02:00
Axel Uhl 29071e60d3 added boat class names to RaceRecord(DTO) and show in TracTracEventManagementPanel 2012-06-14 11:59:34 +02:00
Axel Uhl 7a45607b50 distinguish between NONE and "" for MaxPointsReason drop-down in editable leaderboard 2012-06-13 23:45:30 +02:00