Axel Uhl (Server)
98001cd1be
Fixed start script again - slow ssh makes things hard
2013-04-14 05:30:10 +02:00
Axel Uhl (Server)
4b1157d58b
Hopefully fixed scripts for good
2013-04-14 04:19:58 +02:00
Axel Uhl (Server)
45ef00d883
Fixed indicator of server and added tmpdir
2013-04-14 04:15:54 +02:00
Axel Uhl
f0d7c550e2
Changed "final" semantics for leaderboard JSON export such that it never exports a started but not yet finished race;
...
other fixes include creation of regattas which need to be created with no RaceColumns attached to the Series yet because
it otherwise breaks assumptions asserted by "assert" statements, hence breaking tests when executed with -ea.
2013-04-12 20:44:22 +02:00
Axel Uhl
12cf3f532e
fixed how the boat class name is determined for a leaderboard in xcelsiusadapter, no longer requiring it to be a RegattaLeaderboard
2013-04-12 15:09:08 +02:00
Axel Uhl
8088f1c9fe
adjusted start script to use telnet port and nohup
2013-04-12 13:05:18 +02:00
Axel Uhl
b704a21b81
changed name for mark passings locks
2013-04-12 13:05:07 +02:00
Axel Uhl
3251d2dfd7
computing RaceInfoDTO based on domain model and not based on DTOs constructed from domain model;
...
this should also solve bug 1342 because this is no longer called for constructing a StrippedLeaderboardDTO
2013-04-11 19:00:34 +02:00
Axel Uhl
c06ebfc7e7
quick fix towards bug 1342. The lges.get(0) is a bit evil if there are no legs (empty course); still, it needs to be atomic without locking; use exception instead
2013-04-11 18:33:01 +02:00
Axel Uhl
1a5530d20f
fixed typo in log message
2013-04-11 18:20:07 +02:00
Axel Uhl
1753127edc
regarding bug 1341, trying a patch that avoids the NPE due to missing RaceLog; needs to be reviewed by the Berlin team
2013-04-11 17:02:25 +02:00
Axel Uhl
3b5539181c
added missing hamcrest dependency to android.test bundle
2013-04-11 16:00:37 +02:00
Axel Uhl
f83c624e58
added missing hamcrest dependency to manifest of mongodb.test bundle
2013-04-11 15:20:27 +02:00
Axel Uhl
7b6ef0f246
added missing hamcrest dependency to serialization.test manifest
2013-04-11 14:46:43 +02:00
Axel Uhl (Server)
a7a20edbc0
fixed line endings in buildAndUpdateProduct.sh
2013-04-11 14:22:48 +02:00
Axel Uhl
34bab83ba2
Merge remote-tracking branch 'server/master'
...
Conflicts:
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
java/com.sap.sailing.server.gateway.serialization.test/META-INF/MANIFEST.MF
java/com.sap.sailing.server.gateway.serialization.test/build.properties
2013-04-11 14:13:34 +02:00
Axel Uhl
91af0a81ec
fixed serialization.test mockito dependencies; added logging for start of tracking
2013-04-11 13:57:15 +02:00
Axel Uhl (Server)
b2d41f24e3
Merge branch 'leaderboardCache'
2013-04-10 04:14:32 +02:00
Axel Uhl
002b680843
moved up hasScoreCorrection for an entire leaderboard column / RaceColumn from SettableScoreCorrection to ScoreCorrection
2013-04-09 15:22:43 +02:00
Axel Uhl
ecdce44d2c
don't enter MarkPassings with guessed time points; instead, only queue and wait for start time to be received later;
...
otherwise, this would let TrackedRace infer the start time from the guessed start mark passing times which ends in a
"vicious circle" with future mark passings not even being queued for re-validation after start time receiving.
2013-04-05 19:12:22 +02:00
Axel Uhl
1505247fde
trying to fix bug 1335 by removing *all* mark passings with guessed time points; doesn't work properly yet
2013-04-05 10:22:10 +02:00
Axel Uhl
08f3426da8
enhanced logging for TMDMessageQueue
2013-04-05 02:17:42 +02:00
Axel Uhl
2217031496
implemented fix for bug 1335 by introducing TMDMessageQueue, queuing TMD messages for which no start time existed
2013-04-05 02:03:20 +02:00
Axel Uhl
611f8eb244
Merge remote-tracking branch 'server/master'
2013-04-04 18:47:42 +02:00
Axel Uhl
53da3614a3
don't produce MarkPassing objects with null time point; this causes severe trouble; instead, guess start time from wall time
2013-04-04 18:44:28 +02:00
Axel Uhl
787241d19c
adjusted SmartFutureCache Javadoc after providing a patch to bug 1314
2013-04-04 01:57:13 +02:00
Axel Uhl
e2b3d43393
Tasks in the SmartFutureCache are now recycled with an extended update interval instead of canceled and re-scheduled if not yet started;
...
This solves bug 1314. A synchronized piece of code on the task attempts to update the interval in case the task hasn't read the interval
definition yet. If that doesn't succeed because the task has already consumed the old update interval definition, the existing future task
is left alone, and a new task with the extended update interval is created and scheduled.
2013-04-04 00:59:31 +02:00
Axel Uhl
0761af5e55
refactored SmartFutureCache towards a solution for bug 1314, re-using existing tasks with extended update interval instead of canceling and re-scheduling
2013-04-04 00:49:20 +02:00
Axel Uhl
8ff3810ada
added a "test case" (doesn't test anything) that reproduces the problem of bug 1314 with SmartFutureCache
2013-04-03 23:17:09 +02:00
Axel Uhl
447ad03592
Merge remote-tracking branch 'server/master'
2013-04-03 22:41:07 +02:00
Axel Uhl
c4bcca282f
on bug 1331, improved the way StoreAndForward handles EOF conditions;
...
When a receiving socket is closed, don't close the forwarding channels to the clients.
When EOF is received, stop receiving thread because obviously the receiving channel has been closed.
2013-04-03 22:38:26 +02:00
Axel Uhl
eb62475702
Merge remote-tracking branch 'server/master'
2013-04-03 13:57:55 +02:00
Axel Uhl
1eb6b44a2b
fixed boat icons used when no leg type is known
2013-04-03 13:51:12 +02:00
Axel Uhl
edb481b0ad
enhanced logging in case EOF / -1 is read from SailMaster
2013-04-03 13:46:23 +02:00
Axel Uhl
6de35e7602
Merge remote-tracking branch 'server/master'
2013-04-03 13:31:38 +02:00
Axel Uhl
22734d4445
setting stopped to true in SailMasterConnectorImpl when the thread stops because of an exception so it can be re-started
2013-04-03 13:31:06 +02:00
Axel Uhl
9473c6db02
made SailMasterConnector robust against null messages returned by the transceiver
2013-04-03 13:28:29 +02:00
Axel Uhl
8574b2742d
got updated test XRR files from Tomas; adjusted test cases to match them
2013-04-03 11:48:07 +02:00
Axel Uhl
d44045efbc
Merge remote-tracking branch 'server/master'
2013-04-03 11:19:17 +02:00
Axel Uhl
60c929b026
manually fixed RaceNumber for medal race in the test star race XRR; Tomas to send an updated official version
2013-04-03 11:16:25 +02:00
Axel Uhl
11499f431d
fix for bug 1326: interpret the RaceNumber attribute of the <Race> elements inside the <Event> elements in an XRR export
2013-04-02 23:03:26 +02:00
Axel Uhl
430551d3bc
synchronize access to StoreAndForward data structures; ensure re-connects every second from SailMasterConnectorImpl to SailMaster/StoreAndForward
2013-04-02 14:43:02 +02:00
Axel Uhl
6177b2d647
working towards multiple inbound SwissTiming SailMaster connections; see bug 1325
2013-04-02 12:54:04 +02:00
Axel Uhl
e899ac2aa7
fixed issue with "*X" checksum separator in Expedition messages
2013-04-02 09:39:13 +02:00
Axel Uhl
5812e8c04f
minor javadoc change
2013-04-02 00:19:48 +02:00
Axel Uhl
13e6ae594d
ignore competitor/race combinations during official result import where no official score is provided for that competitor/race;
...
this at least provides a way to import results for split fleet races easily by selecting all of a column with one split fleet
selected, then selecting the other split fleet race and again selecting all
2013-04-01 23:43:03 +02:00
Axel Uhl
1375a96bb6
Merge remote-tracking branch 'server/master'
2013-04-01 21:49:01 +02:00
Axel Uhl
bd3d27bab8
added a 470M XRR export example with split fleets; updated official ISAF XRR examples
2013-04-01 21:47:18 +02:00
Axel Uhl
742ecd82b9
removed unnecessary Runnable interface from UDPMirror
2013-04-01 21:15:52 +02:00
Axel Uhl
b8e12c1278
Updated general event planning (markdown)
2013-04-01 21:05:03 +02:00
Axel Uhl
726c41a4aa
added a launch configuration allowing Eclipse users to easily replicate live wind data to their environment
2013-04-01 17:33:41 +02:00
Axel Uhl
96ed42829e
Merge remote-tracking branch 'server/master'
2013-04-01 17:16:39 +02:00
Axel Uhl
d50f7411ff
update status of SwissTiming race to FINISHED when stopping tracker
2013-04-01 17:15:05 +02:00
Axel Uhl
eebbf08023
working towards a fix for bug 1323 by storing a flag about explicit delay updates in Timer rather than the view components
2013-04-01 14:56:06 +02:00
Axel Uhl
9aa3a9bb8e
Merge remote-tracking branch 'server/master'
2013-04-01 11:56:23 +02:00
Axel Uhl
94c6a60614
become robust against CCG messages with missing device set-ups on marks
2013-04-01 11:55:02 +02:00
Axel Uhl
043acc93a1
Merge remote-tracking branch 'server/master'
2013-03-31 15:02:43 +02:00
Axel Uhl
a04861f57b
fixing bug 1320: wind tracking for SwissTiming races didn't wait until race definition was created
2013-03-31 14:58:12 +02:00
Axel Uhl
b846e11217
fixed typo
2013-03-31 10:53:33 +02:00
Axel Uhl
ed23613f42
Merge remote-tracking branch 'server/master'
2013-03-30 23:17:38 +01:00
Axel Uhl
f5a59eca01
Merge branch 'seleniumleaderboardtests'
2013-03-30 23:16:11 +01:00
Wiki User
7565aa024f
Removed cook book
2013-03-29 19:01:00 +01:00
Wiki User
b1f94bdc2b
Modified IST image
2013-03-29 19:00:59 +01:00
Wiki User
3fabcf78a0
Add PIRONET documents
2013-03-29 19:00:59 +01:00
Wiki User
1ae328024d
Modified images, added UPS simple plan
2013-03-29 19:00:59 +01:00
Wiki User
0e1ecf3b5f
Modified images, added UPS simple plan
2013-03-29 19:00:59 +01:00
Wiki User
e8dfb6aa0d
Added NOR for ESS 2013
2013-03-29 19:00:59 +01:00
Wiki User
eaeed5a941
Modified images to include tracker and wind data
2013-03-29 19:00:59 +01:00
Axel Uhl
d858be97f3
Merge remote-tracking branch 'server/master'
2013-03-29 15:45:28 +01:00
Axel Uhl
4d53a3d865
fixed smart future cache test which now failed due to more rigid locking policy;
...
can't suspend the cache(...) method which is holding the write lock while trying to read using get(...).
Now suspending the computeCacheUpdate method. This still lets get(...) read null, but during
computeCacheUpdate the write lock for the key isn't held by the cache yet. Therefore, the get can proceed.
2013-03-29 15:43:29 +01:00
Axel Uhl
465d618fbc
fixed smart future cache test which now failed due to more rigid locking policy;
...
can't suspend the cache(...) method which is holding the write lock while trying to read using get(...).
The get(...) method will simply block because a cache update is currently on its way.
2013-03-29 15:40:01 +01:00
Axel Uhl
12c9b3761b
fixed third of the leaderboard tests that failed due to the changed incurred by the fix for bug 1023
2013-03-29 15:15:49 +01:00
Axel Uhl
8922ccf470
fixed second leaderboard test case that broke because of the changes incurred by the fixes for bug 1023
2013-03-29 15:05:07 +01:00
Axel Uhl
b7182c4553
fixed the first of the leaderboard tests broken by the change in behavior requested by the fix for bug 1023
2013-03-29 14:56:41 +01:00
Axel Uhl
ab7fc9c519
Fixed by 1317: ConcurrentModificationException in SmartFutureCache unpropagating lock set
2013-03-22 15:09:42 +01:00
Axel Uhl
057a479586
Largely fixed bug 1023. While it doesn't show an additional column with the race count, LowPoint and HighPoint and all
...
their derived schemes rank a competitor better if it has more races; all races of those schemes are now always
considered valid for total points score. The old implementation is still in AbstractScoringScheme in case someone
needs them in a specific scheme.
2013-03-22 15:04:18 +01:00
Axel Uhl
98c14212aa
Merge remote-tracking branch 'server/master'
2013-03-22 14:05:55 +01:00
Axel Uhl
0313c26a2d
in LockUtil, consider the possibility that a thread from which locks are to be carried over doesn't hold any
2013-03-22 14:03:05 +01:00
Axel Uhl
eb7245c3dc
added a comment on the minimum size of the thread pool for the SmartFutureCache
2013-03-22 11:26:52 +01:00
Axel Uhl
3dfc8ca0e7
apply lock propagation also to write locks
2013-03-22 00:34:45 +01:00
Axel Uhl
f9292e64c3
added lock propagation to LeaderboardDTOCache and SmartFutureCache
2013-03-22 00:28:23 +01:00
Axel Uhl
82b464eafe
added comment to SmartFutureCache.triggerUpdate to explain the need for randomization in case of mass updates
2013-03-22 00:09:14 +01:00
Axel Uhl
e73b325db7
Merge remote-tracking branch 'server/master'
2013-03-21 23:59:20 +01:00
Axel Uhl
91b684804b
use a single ThreadPool for all SmartFutureCache instances, 3*availableProcessors in size; shuffle multi-cache-invalidations;
...
when invalidating a SmartFutureCache for a number of keys, if this always happens in the same order, the first few keys
will be re-computed over and over again because cancelling them is not possible as they have already started, but a new
re-calculation needs to be triggered still. All later keys will be appended to the ordered queue but will keep getting
canceled because they haven't started their calculation yet. By shuffling the keys before triggering their invalidation,
all elements will fairly get re-calculated every now and then.
2013-03-21 23:53:39 +01:00
Axel Uhl
9b3f696620
use a ConcurrentHashMap to avoid issues in LockUtil caused by concurrent access to the lockCounts map
2013-03-21 23:48:08 +01:00
Axel Uhl
40af74b11b
trying to fix bug 1312 by allowing LeaderboardDTOCache to use stale results of CrossTrackErrorCache and ManeuverCache;
...
The LeaderboardDTOCache is invalidated upon each GPS fix received; therefore, by and large, the LeaderboardDTOCache will
be invalidated each time the maneuver and cross track error caches will be invalidated. Only in very bizarre situations
such as the end of the race stopping all GPS fixes would the LeaderboardDTOCache keep some stale results for the very end
of the race. The likelihood seems sufficiently small to tolerate the risk.
2013-03-21 22:12:00 +01:00
Axel Uhl
51ddeef2b8
working towards a solution against read-read locks when first reader waits for second reader (see bug 1313)
2013-03-21 21:22:01 +01:00
Axel Uhl
feaea37a0c
improved trace output for locking
2013-03-21 17:43:23 +01:00
Axel Uhl
855b22f825
small changes in architecture model
2013-03-21 13:22:17 +01:00
Axel Uhl
7fb0f297cf
final run-through of presentation slides
2013-03-21 01:13:21 +01:00
Axel Uhl
57a5a59cac
fixed a few typos, added Pandora's box
2013-03-21 00:57:19 +01:00
Axel Uhl
d2426349fb
some minor fixes to UML / Rose model and presentation
2013-03-21 00:42:11 +01:00
Axel Uhl
c7b870dd8c
explained the "read-read" deadlock using an animated picture
2013-03-21 00:15:53 +01:00
Axel Uhl
6a1f9cb8d3
Merge remote-tracking branch 'server/master'
2013-03-20 23:31:16 +01:00
Axel Uhl
8dfb4100df
approaching the final version of the architecture curriculum presentation slides
2013-03-20 23:27:02 +01:00
Axel Uhl
b923447203
added slides to the presentation; improved overview model in Rose
2013-03-20 20:54:54 +01:00
Axel Uhl
7211f60040
fixed use of LowPointWinnerGetsZero scoring scheme
2013-03-20 16:40:54 +01:00
Axel Uhl
8609ff84d1
fixed competitor ID problem for SwissTiming; pesistence layer assumed it could put a Serializable ID into a DBObject which is not the case;
...
More generally, this raises the question where else we rely on Serializable going into MongoDB. Opened bug 1311
2013-03-20 11:28:20 +01:00
Axel Uhl
861913a009
fixing issue with selection of XRR document if multiple matches with different time points exist
2013-03-20 10:44:12 +01:00
Axel Uhl
18d31011cd
added NOAA importer launch configurations for declination import into resources/
2013-03-20 00:33:50 +01:00