-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Routing harvesting duplicates channelepochs (and related epochs) in the routing DB #33
Comments
affected are the entities channelepoch, epoch (if referred to by a channel epoch), and routing (if referring to such an epoch, however, this is always the case...) evidence: Select station.code as sta, Select network.code as sta, |
(note that this issue would widely be mediated by the cleanup mechanism for routes which disappeared from EIDA (old lastseen dates), however that process is not automated. |
While channelepochs and routes are duplicated rather than the lastseen date updated, The issue does not prevent the federator from "functioning", however it bloats the database and makes queries slow in the long-run. |
Until the code is fixed, the database can be kept under control as follows:
|
pre-existing channel-epochs are not recognized - each harvesting of the routing declaration introduces all channel epochs again as new ones, rather than updating the last-seen dates of the pre-existing ones.
(This behaviour is not observed with network epochs and station epochs; however those still have the issue that the lastseen date is not updated; cfr #31
The text was updated successfully, but these errors were encountered: