mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-14 08:11:00 +00:00
1.1 KiB
1.1 KiB
GPSFixStore
[[TOC]]
Purpose
The GPSFixStore functions similar to the WindStore. A TrackedRaceImpl expects such a store for instantation, and then uses this store to resolve the corresponding Track. On replicas, a Empty*Store is used, on the master instance a Mongo*Store is used. This tries to load existing fixes from the MongoDB, and will write any new incoming fixes to the MongoDB.
Loading race-log-tracked races in the Admin Console
After restarting the server, a tracked race can now be fully recovered from its race log, and the fixes of marks and competitors stored through the GPSFixStore.
To do this
- open the Admin Console
- switch to the Leaderboard Configuration tab
- select a leaderboard
- click Reload all RaceLogs (has to be done to reload the Competitor Registered events, which contain device identifiers for which deserializers need to be registered through the OSGi service registry -> these are not available when the
RacingEventServiceinitially loads all data from the database)