Repository navigation
Portable KV-backed Geo lookup #454
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
Changes from all commits
6e8bb0e
c155e5d
479d993
c52bdaf
44b6f0d
efb07b6
09a24c0
3ac2168
e043f93
4524e10
468dba5
2c41968
7ef4766
e36beab
8a0b3f2
2b4e4bf
8cd7af9
e098b38
62db505
5218a20
7c0cd31
1b7eeb8
570ff29
925fe01
e68a078
bbcb3d0
0190f77
96b9f79
00091a6
7580806
915e935
df4e9c5
30b43e4
cd3d371
a73239f
4a7473f
dfb3602
9a999eb
bfe60ce
113ae72
24dee62
7d7c5f1
0a4ddaa
94bae43
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -94,6 +94,22 @@ settings, and request records. | |
| native TTL on `ttl_epoch_s`; never delete their per-key allocator rows. celld records need | ||
| the stock store service's record API version 1. | ||
|
|
||
| ### KV-backed Geo | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔧 Conflicts with the current base
Fix: merge the current base and keep both sections, records first then KV-backed Geo, or whatever order you prefer. |
||
|
|
||
| - Axum can opt into lookup from a pinned KV dataset with the `geo-kv` feature. Off is still | ||
| the default. See the [native Geo guide](docs/guide/native-geo.md#serve-a-csv-backed-kv-index) | ||
| for setup and request budgets. Request-time lookup failures log | ||
| `event=geo_lookup_failed reason=saturated|timeout|store` once per reason, then | ||
| `event=geo_lookup_recovered`, without reader IPs or keys. | ||
| - `GeoUnavailableReason` adds `MissingReaderIp`, `NoMatch`, and `UnsupportedGeography` and is | ||
| now non-exhaustive. Handle the new reasons where relevant and keep a wildcard that treats | ||
| unknown reasons as unavailable. Add wildcard arms to exhaustive matches on `GeoSource` and | ||
| `GeoTrustBasis` when upgrading from the earlier CloudFront-only API. `NativeGeoSelection` | ||
| and `NativeGeoConfigError` are now non-exhaustive, so Axum callers that match either need | ||
| a wildcard arm. `NativeGeoSelection::Kv` exists only with the `geo-kv` feature. | ||
| - `kv` is reserved for the built-in provider. If an application uses `kv` as a supplied | ||
| provider label, rename it to an application-specific value, such as `example.kv`. | ||
|
|
||
| ### Axum buffered JSON limits and body API | ||
|
|
||
| - **Breaking:** On Axum, ordinary `Json` and `ValidatedJson` now default to 2 MiB | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.