Commit Graph

409 Commits

Author SHA1 Message Date
Sascha L. Teichmann
b393712801 Completed implementation of interleaver. Needs testing! 2014-08-21 14:46:34 +02:00
Sascha L. Teichmann
cfb6edcd29 Added block consumer for SQLite3 in interleaver. 2014-08-20 21:05:36 +02:00
Sascha L. Teichmann
87b34d123e Added block producer for LevelDB in interleaver. 2014-08-20 16:21:44 +02:00
Sascha L. Teichmann
8f4a558234 Do not pass Block structs around only pointers. 2014-08-20 15:34:20 +02:00
Sascha L. Teichmann
02ada38090 Added block consumer for LevelDB in interleaver. 2014-08-20 15:26:31 +02:00
Sascha L. Teichmann
74551198fa Use errors.New instead of fmt.Errorf to create NoMoreBlocksErr in interleaver. 2014-08-19 12:27:42 +02:00
Sascha L. Teichmann
0b96dda52c go fmt'ed. 2014-08-19 12:23:33 +02:00
Sascha L. Teichmann
c14e7c3dd0 Added first stubs of SQLite producer for interleaver. 2014-08-19 12:07:57 +02:00
Sascha L. Teichmann
8eca3a6e45 Added interfaces for upcoming interleaver. 2014-08-19 11:14:14 +02:00
Sascha L. Teichmann
c84feab792 Added copyright header and more test cases for key encoder/decoder. 2014-08-19 11:12:35 +02:00
Sascha L. Teichmann
37eb407572 Use a type block for backend interfaces. 2014-08-19 11:11:41 +02:00
Sascha L. Teichmann
efe6c6abb8 Introduce struct type Coord to reduce tuples passing around. 2014-08-18 21:33:58 +02:00
Sascha L. Teichmann
066675896d Dont rely on compiler smartness to replace / and % by shifting and masking. Make use of constants more consistence. 2014-08-18 19:58:10 +02:00
Sascha L. Teichmann
ff14b83b1e Made encode/decode api more symmetric. Added some unit test for the encoders/decoders. 2014-08-18 18:01:34 +02:00
Sascha L. Teichmann
a210207f8e Added more functions for treating coordinates. 2014-08-18 16:29:17 +02:00
Sascha L. Teichmann
da5c70b55b Use strconv.FormatInt() directly to convert key to string w/o using expensive fmt.Sprintf(). 2014-08-17 12:08:26 +02:00
Sascha L. Teichmann
6efb976ba2 Fixed HKEYS command for SQLite3 backend. 2014-08-16 17:41:54 +02:00
Sascha L. Teichmann
b6c041b896 Moved coords in separate module. 2014-08-16 16:06:42 +02:00
Sascha L. Teichmann
120531ed78 LevelDB backend: Recycle iterator in all keys fetch. 2014-08-11 17:07:23 +02:00
Sascha L. Teichmann
ecf00b45f5 Added tag 0.3 for changeset f1f4e58c816d 2014-08-11 16:19:14 +02:00
Sascha L. Teichmann
5d1ffa39a8 version: 0.3 2014-08-11 16:19:08 +02:00
Sascha L. Teichmann
d96d352db8 Sqlite backend: Unlock the mutex in Allkeys correctly. 2014-08-11 15:47:20 +02:00
Sascha L. Teichmann
d54af34288 LevelDB: Seeked to start to get all the keys in HKEYS command. 2014-08-11 15:13:18 +02:00
Sascha L. Teichmann
d321d1888b Added experimental support for HKEYS to make minetestmapper happy. 2014-08-11 14:56:01 +02:00
Sascha L. Teichmann
720a6f497c Added tag 0.2 for changeset 55265226a98d 2014-08-08 15:13:38 +02:00
Sascha L. Teichmann
9058c5fc56 version: 0.2 2014-08-08 15:13:33 +02:00
Sascha L. Teichmann
829f251700 Limit length of bulk string to 4MB. That should really be enough for a Minetest block. 2014-08-08 15:12:30 +02:00
Sascha L. Teichmann
8dba5f5f3b Removed obsolete coord to bytes transformation. Added TODO. 2014-08-08 15:04:53 +02:00
Sascha L. Teichmann
d2e9984529 Recieve larger bulk strings than 4k from redis client. 2014-08-08 13:45:24 +02:00
Sascha L. Teichmann
2e47262ce8 LevelDB: Do not create cache if cache size <= 0. 2014-08-08 10:05:03 +02:00
Sascha L. Teichmann
787ea5d0ee Mute logging a bit. 2014-08-08 00:16:00 +02:00
Sascha L. Teichmann
b5d372765d Fixed a few typos in warnigs of Redis parser. 2014-08-07 20:25:48 +02:00
Sascha L. Teichmann
bf55abd1b9 s/go get/go install/ for the external dependencies in dev setup. 2014-08-07 20:21:15 +02:00
Sascha L. Teichmann
f474ef6920 Removed pos recalc from leveldb backend. 2014-08-07 20:20:04 +02:00
Sascha L. Teichmann
c09d74ae0f Free memory of write batches in LevelDB backend. Use an extra r/w mutex. 2014-08-07 15:16:12 +02:00
Sascha L. Teichmann
954dddf795 Added tag 0.1 for changeset fa8009dd8a84 2014-08-06 11:05:01 +02:00
Sascha L. Teichmann
398b36d013 version: 0.1 2014-08-06 11:04:55 +02:00
Sascha L. Teichmann
f080144098 README edited online with Bitbucket 2014-08-06 08:58:27 +00:00
Sascha L. Teichmann
e38d8eb9fc Added cyclic garbage collection for a defined interval. Defaults to 24h 2014-08-06 10:52:37 +02:00
Sascha L. Teichmann
66b85f199c Added version flag for command line. 2014-08-06 10:04:24 +02:00
Sascha L. Teichmann
3f97399a82 Introduced a backend session to track transactions more clearly. 2014-08-06 01:11:41 +02:00
Sascha L. Teichmann
737b09436c README edited online with Bitbucket 2014-08-05 17:28:22 +00:00
Sascha L. Teichmann
eabcd53f6b Removed another defer. 2014-08-04 22:23:16 +02:00
Sascha L. Teichmann
913ae0d2c7 go fmt'ed 2014-08-04 21:06:41 +02:00
Sascha L. Teichmann
35d05ba9c8 LevelDB needs re-coding of positions with zero components. 2014-08-04 17:10:19 +02:00
Sascha L. Teichmann
de9f738306 Simplified LevelDB data storing. 2014-08-04 15:29:26 +02:00
Sascha L. Teichmann
12e0516929 Simplified LevelDB writing. 2014-08-04 15:28:01 +02:00
Sascha L. Teichmann
61cc35fda8 Dont log errors if client closes connections. 2014-08-04 15:18:32 +02:00
Sascha L. Teichmann
7a98421645 README edited online with Bitbucket 2014-08-03 16:04:19 +00:00
Sascha L. Teichmann
7a6bde2e5b Added README 2014-08-03 16:39:26 +02:00