-
Notifications
You must be signed in to change notification settings - Fork 16
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
dotmap missing DC #77
Comments
Our style has four Mapbox studio layers ("southwest", "southeast", "northeast", "northwest") with the OA data split into each. When i look at one of these layers, the "select data" tab has an error e.g. "source layer 'openaddresses' or Source 'mapbox://open-addresses.southwest' not found.": … but it's there: When I try to select it, studio shows a different source getting selected at the top. (i selected southwest, but the source thing at the top shows southeast): |
@migurski do you remember why we wrote out chunks of mbtiles instead of one big one? |
Yeah, we split the world into four to slide under a Mapbox limitation on upload size: openaddresses/machine#631 (comment) |
@iandees Looks like the limit is 25gb per Ref What is the current size of the file, and are we uploading prebuild vector tiles, or raw geojson? I'm not super familiar with the studio/tiles side of things but https://docs.mapbox.com/api/maps/#create-a-tileset looks like it could be a more permanent solution to our problem. However I image uploading individual tiles would take considerably longer than our current approach |
We are uploading prebuilt MBTiles files full of vector tiles after running Tippecanoe in the build process. |
@migurski any chance you can pull the size of the current file? My guess is this is the issue once again :/ |
Looking at the logs, it seems that maybe the most recent two mbtiles builds on 9/29 and 10/1 stopped without finishing or uploading to Mapbox. I don't see any errors, so maybe the instance got terminated? It went from ~1600UTC to 0100UTC, which is ~8 hours. Maybe there's a time limit we need to bump up? On the 9/11 build, most of the downloads failed because I changed permissions on the S3 bucket. The upload to Mapbox worked, though, so that's likely why there are so few points on the map as that's the most recent tileset in our account. Actions to take:
|
It looks like this is an issue with a hanging postgres query while pulling down the cached sources to use when iterating through all data. This query is run and takes a very long time (times out after ~2 days): SELECT MAX(id), source_path FROM runs
WHERE source_path IN (
-- Get all source paths for successful runs in this set.
SELECT source_path FROM runs
WHERE set_id = 684369
)
-- Get only successful, merged runs.
AND status = true
AND (is_merged = true OR is_merged IS NULL)
GROUP BY source_path; The Postgres analyzer says it should be relatively fast:
I'll dive into why this is taking so long later. |
results.openaddresses.io shows a run as recently as 9/10 and the sample data and cache file look ok to me. It's present in the US South extract (haven't checked global--should I?). Not sure what could be going on.
The text was updated successfully, but these errors were encountered: