What's Changed
Four fixes to the ASN feature ahead of 0.10.0.
- The Traffic origin card and Top ASNs table show an error message when
/top-asnsfails instead of loading skeletons forever. ensure_asn_databaseandensure_geoip_databasereturn whether the mmdb opens after a failed refresh, not whether a file exists. A corrupt file no longer counts as available, so the missing-database advisory fires when ingestion cannot open it./top-asnsrequest totals use the same stitched CAGG-plus-raw-edges read as the ASN hits. On misaligned windows above 24h the totals no longer include bucket slop from outside the window, which the Traffic origin card showed as requests without ASN data. Integration test added for a 30-minute-offset 48h window.- The ASN index migration passes
timescaledb.transaction_per_chunkwhenaccess_logsis already a hypertable, so each chunk's write lock is short instead of one lock across the whole build. Fresh installs, where the table is still plain at migration time, keep the ordinary statement.
Full Changelog: v0.10.0-dev.3...v0.10.0-dev.4