github GilbN/geometrikks v0.10.0-dev.4

latest release: v0.10.0
pre-release51 minutes ago

What's Changed

  • fix(asn): release review fixes by @GilbN in #158

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-asns fails instead of loading skeletons forever.
  • ensure_asn_database and ensure_geoip_database return 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-asns request 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_chunk when access_logs is 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

Don't miss a new geometrikks release

NewReleases is sending notifications on new releases.