forked from hypermodeinc/dgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various optimizations for Geo queries (hypermodeinc#3805)
- Remove query cache which is causing contention. - Make geo filtering execute in parallel. - Fix up convertGeom to also take geometries, not just coordinates. Changes: * Remove query cache which is causing contention. Make geo filtering execute in parallel. Fix up convertGeom to also take geometries, not just coordinates. * Add another simpler case for dealing with no facets tree in handleUidPostings * Use spans instead of glog.Infofs * Only output to span if numGo > 1. Also, simplify logic a bit. * Create a new span for processTask * Refactor checking closed loop into a single func. * Fix test failure: Handle another facet condition.
- Loading branch information
1 parent
dc1d25e
commit 77f024a
Showing
5 changed files
with
127 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters