Commit Graph

949 Commits

Author SHA1 Message Date
Josh Baker 11b42c020b Add flags to disable AOF or to use a custom path
New server flags:
  --appendonly     yes/no
  --appendfilename path

Please note that leaders that have disabled AOF cannot be followed.
2018-04-11 10:53:36 -07:00
Josh Baker 2b0a0cf93b Add meta data to hooks command
Closes #296
2018-04-10 11:54:32 -07:00
Josh Baker cfb1a4c840 Fix intersects returning nothing in some cases
Fixes #295
2018-04-09 10:52:39 -07:00
Josh Baker 0aa04a1910 vendor lotsa package 2018-04-09 08:55:22 -07:00
Josh Baker 546e7a0ad2 Merge branch 'master' of https://github.com/tidwall/tile38 2018-04-09 08:32:48 -07:00
Josh Baker 2e7003bc31 Fix http requests not working
fixes #294
2018-04-09 08:27:04 -07:00
Josh Baker 556c7de967
Update BACKERS.md 2018-04-03 07:36:03 -07:00
Josh Baker 7360b42056
minor update 2018-04-02 15:31:59 -07:00
Josh Baker 84c4fc8afd
Update BACKERS.md 2018-04-02 07:32:57 -07:00
Josh Baker 282532ba67
add backers link 2018-04-02 07:30:42 -07:00
Josh Baker b67e7b2769
Create BACKERS.md 2018-04-02 07:29:40 -07:00
Josh Baker 0659e0c705
add sponsor link 2018-03-30 18:11:00 -07:00
Josh Baker 81e446be60 1.11.1 2018-03-16 09:32:04 -07:00
Josh Baker eceedc17e5
remove edge tag 2018-03-16 09:17:14 -07:00
Josh Baker 8b0f254666
Better docker instructions 2018-03-16 09:13:41 -07:00
Josh Baker 248ccfbe8a Filter id match before kNN results
fixes #280
2018-03-09 19:50:34 -07:00
Josh Baker 0ce2dab945 fix perf regression 2018-03-09 19:05:31 -07:00
Josh Baker 9428b84484 added cpu and threads to stats 2018-03-09 17:24:23 -07:00
Josh Baker 4c2c1dd186 Better polygon detection logic
Refactored shared detection logic.
Fixed linestring, multilinestring, and multipoint bugs.
Added more geojson unit tests.
2018-03-09 17:22:38 -07:00
Josh Baker b1b7eda877
Merge pull request #276 from im-kulikov/fix-makefile-clean
[FIX] Makefile clean must remove and `tile38-luamemtest`
2018-03-09 03:16:23 -07:00
Josh Baker 86887ae60f use poly bboxes 2018-03-08 12:16:12 -07:00
Josh Baker 70bdd49acb subsecond sleep option 2018-03-08 06:48:12 -07:00
Josh Baker e3a09d7469 separate bboxes for multipolygon 2018-03-07 13:18:25 -07:00
Evgeniy Kulikov f5d78c908c
[FIX] Makefile clean must remove and `tile38-luamemtest` 2018-03-07 17:51:06 +03:00
Josh Baker c8353a18b2 aint tests 2018-03-06 22:07:38 -07:00
Josh Baker dc30f35646 safe atomic ints for rpi3, #269 2018-03-06 22:02:38 -07:00
Josh Baker 82197faea0
Merge pull request #270 from EdwardBetts/patch-1
Correct a spelling mistake.
2018-03-06 16:04:29 -07:00
Josh Baker 835a703625
Merge pull request #273 from samuelbosch/patch-1
fix small typo in README
2018-03-06 16:04:15 -07:00
Samuel a52373c797
fix small typo 2018-03-06 17:16:31 +01:00
Josh Baker 445fd06185 add attribute for rbush port 2018-03-06 07:18:11 -07:00
Edward Betts 1381e68c69
Correct a spelling mistake. 2018-03-06 05:19:50 +00:00
Josh Baker 19f53a61ba 1.11.0 2018-03-05 11:21:04 -07:00
Josh Baker 7538cc73ff avoid recover calls for non-lua queries
The defer recover() pattern is expensive and only Lua queries require
it, so for now we'll just check if lua is being used before calling.
2018-03-05 11:10:40 -07:00
Josh Baker 3568edf44c avoid bbox intersect for non-bbox objects 2018-03-05 09:00:14 -07:00
Josh Baker bce78028bb minor code cleanup 2018-03-05 08:27:18 -07:00
Alex Roitman 9ffca9aa10 Tests and commands.json for WHEREEVAL. 2018-02-15 16:42:07 -08:00
Alex Roitman 29f4737e5d Add WHEREEVAL clause to scan/search commands. 2018-02-15 11:08:27 -08:00
Josh Baker 2088b5d2d2
Merge pull request #254 from rshura/fset_maxmemory
Add maxmemory protection to FSET
2018-01-30 11:17:13 -07:00
Josh Baker c62975b505 clear expires on reset, #258 2018-01-30 10:30:03 -07:00
Alex Roitman 47132af474 Add maxmemory protection to FSET 2018-01-23 15:54:10 -08:00
Josh Baker e1fe83c54c 1.10.1 2018-01-17 21:05:12 -07:00
Josh Baker dc1cc76247 better multipolygon detection 2018-01-15 13:15:34 -07:00
Josh Baker 3bdcfd10da fix update version pattern 2018-01-15 11:06:15 -07:00
Josh Baker 8a4ccc8e99 Fix server crash when receiving zero arg commands.
fix #246
2018-01-15 10:53:08 -07:00
Josh Baker 1f70cb4e75 Precalculate and store bboxes for complex objects
This should increase the performance for most search operations such as
WITHIN, INTERSECTS, and NEARBY when dealing with complex polygons.
Geofencing should see a increase in throughput when dealing with a high
frequency of point -> polygon detection.

Addresses #245
2018-01-11 13:57:18 -07:00
Josh Baker 44a6acf107 fix CHANGELOG 2017-12-18 10:18:45 -07:00
Josh Baker 206f4996e2 1.10.0 2017-12-18 10:10:17 -07:00
Josh Baker 5b5e589be3 point match on interior hole, fixes #241 2017-12-18 08:37:03 -07:00
Josh Baker 02fa605dc4
Merge pull request #237 from rshura/shrink_fix
Flush to file periodically
2017-12-13 16:46:52 -07:00
Alex Roitman aa462f39cc Typos in the comments 2017-12-12 13:05:22 -08:00