-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Run area aggregate (stats) updates only for an area and its ancestors #319
Comments
I'll take a crack at this. |
Updating a climb's stats affects its parents. Potential Solution:I don't think we have a way of referencing parent nodes. This can be fixed by adding a reference to parent nodes:
In this example, the parent would be the id of Southeast Utah since the pathTokens shows:
|
|
Child:
Parent:
_id 6467ab2ae622317bdb3eef3f is not found in the ancestor list of the child. I see that a mmuid is being generated from paths in
|
Frontend issue: OpenBeta/open-tacos#877
Background
# The Kubernetes job calls yarn update-stats
which calls https://github.com/OpenBeta/openbeta-graphql/blob/develop/src/db/utils/jobs/UpdateStatsJob.ts
To do
Based on recent work for issue #213 we can introduce a similar function to only update the affected subtree
The text was updated successfully, but these errors were encountered: