Commit Graph

37 Commits

Author SHA1 Message Date
Sascha L. Teichmann
f6b5f9ce97 Removed totally outdated README of mtredisalize. 2015-07-26 16:48:19 +02:00
Sascha L. Teichmann
f6e5eb8510 Moved ordering of two int64 to common/math. 2015-07-26 16:40:50 +02:00
Sascha L. Teichmann
8817094001 Added missing copyright headers and updated dates on others. 2015-07-26 16:33:29 +02:00
Sascha L. Teichmann
68bb1ee320 Avoid redundant decoding when sendind coordinate to change tracker or coverage index.
Don't try to store in coverage index if the key already exists.
Handle more potential database errors.
2015-07-25 22:18:16 +02:00
Sascha L. Teichmann
06c8ef8f88 Fixed interleaved sqlite spatial query. 2015-07-25 14:15:06 +02:00
Sascha L. Teichmann
c9686a7f24 Fixed non-interleaved LevelDB backend. 2015-07-24 13:15:05 +02:00
Sascha L. Teichmann
fe6a551f06 Break some over-long lines. 2015-07-24 10:01:39 +02:00
Sascha L. Teichmann
29eeb5e301 Implemented usage of coverage index in non-interleaved LevelDB backend. Untested, yet! 2015-07-24 08:30:52 +02:00
Sascha L. Teichmann
d53cea250c Started coverage index support for non-interleaved LevelDb backends. 2015-07-24 08:13:24 +02:00
Sascha L. Teichmann
3fc89ad0f5 Removed dead code. 2015-07-23 21:14:35 +02:00
Sascha L. Teichmann
93d4aedffa Fixed non-interleaved sqlite support. 2015-07-23 16:20:42 +02:00
Sascha L. Teichmann
1921b8211b Some little experiment with a coverage index to speed up spatial queries if backend has no Z order support. 2015-07-21 22:01:10 +02:00
Sascha L. Teichmann
470b47f70a Fixed endless loop in Z order range query code in SQLite3 backend. 2015-07-21 12:53:55 +02:00
Sascha L. Teichmann
ecd599e44d Terminate all log.Printf with a new line. 2015-07-20 14:19:41 +02:00
Sascha L. Teichmann
e8bb225d94 Fix a few golint naming nits. 2015-06-21 13:31:03 +02:00
Sascha L. Teichmann
b22e778902 Error log simplification ported from syndtr-goleveldb branch. 2015-06-21 13:17:10 +02:00
Sascha L. Teichmann
b74671ae63 Simplified error handling in Redis connection handler.
This also reduces the diff size to the syndtr-goleveldb branch.
2015-06-02 20:10:56 +02:00
Sascha L. Teichmann
9d1b0cc7c6 Silence a few golint warnings. 2015-05-27 16:57:08 +02:00
Sascha L. Teichmann
f80d9e452c Don't use fmt.Sprintf when sending size of a redis bulk string. 2015-05-27 16:48:51 +02:00
Sascha L. Teichmann
a165bcd53a Removed some dead code. 2015-05-27 00:02:13 +02:00
Sascha L. Teichmann
29a5abeec4 Simplified Redis code a bit when writing booleans to client. 2015-05-26 19:25:26 +02:00
Sascha L. Teichmann
af469a3173 Merged. 2015-05-26 18:14:48 +02:00
Sascha L. Teichmann
75b2496fa6 Fixes issue #7. mtredisalize implements Redis PING command. 2015-05-26 18:12:55 +02:00
Sascha L. Teichmann
3b8faba353 Fixed small nit found by golint. 2015-03-14 19:03:25 +01:00
Sascha L. Teichmann
b029c473a8 Made maxBulkStringSize a command line option 'max-bulk-string-size'. It defaults to 32MB. 2015-03-14 19:01:00 +01:00
Sascha L. Teichmann
52932b0351 Fixed bogus error handling in change tracking notification. 2014-11-03 18:57:10 +01:00
Sascha L. Teichmann
1acfd26e80 Uplift max bulk string size for redisalize server to 8MB. Big TNT explosion seem to write big blocks into the database. 2014-10-22 19:10:06 +02:00
Sascha L. Teichmann
bfe5d36775 Fixed build of mtredisalize. 2014-10-03 19:10:40 +02:00
Sascha L. Teichmann
2588122c37 Adjusted documentation a bit. Not complete yet. 2014-10-03 12:23:47 +02:00
Sascha L. Teichmann
02593a22d1 mtredisalze: made quantification a constant (default 1). Increase value if the _really_ produces too much data. 2014-09-18 11:43:12 +02:00
Sascha L. Teichmann
e81051a84c Simplified json encoding 2014-09-18 06:49:50 +02:00
Sascha L. Teichmann
51626a1371 Do nort send notifications if nothing changed. 2014-09-17 17:34:03 +02:00
Sascha L. Teichmann
cf0aec6fa5 mtredisalize: Implemented the http POST of the tracked changes to configured URL. 2014-09-17 10:45:44 +02:00
Sascha L. Teichmann
f4c188a87a mtredisalize: Do the actual change tracking, store them in a map and serialize them to JSON when flushing is triggered.
TODO: Implement the POST request to the remote host with this JSON document.
2014-09-17 10:16:51 +02:00
Sascha L. Teichmann
400a65f563 mtredisalize: Add infrastructure to send backend store changes to separate daemons. 2014-09-17 09:51:34 +02:00
Sascha L. Teichmann
ef541f18f6 removed unnesseary redirection in storing blocks in transactions. 2014-09-17 08:41:10 +02:00
Sascha L. Teichmann
fd64d20b76 Moved sub programs into folder cmd to clean up project structure. 2014-09-13 19:07:20 +02:00