Commit Graph

148 Commits

Author SHA1 Message Date
M1ha
e99c6a1db3 Removed test on clickhouse timezone offset
as it doesn't work in different time zones
2019-06-28 12:21:08 +05:00
M1ha
a3e8d71bd8 Fix issue https://github.com/carrotquest/django-clickhouse/issues/1 2019-06-28 11:29:15 +05:00
M1ha
355b8c7321 Fix python 3.6 namedtuple compatibility 2019-06-28 11:09:17 +05:00
M1ha
8a581f27db Install not required redis 2019-06-27 17:22:40 +05:00
M1ha
2f4dbdc151 Test on latest clickhouse version 2019-06-27 17:18:42 +05:00
M1ha
3c5f705ef5 Test on latest clickhouse version 2019-06-27 17:14:32 +05:00
M1ha
5a01aab334 Bugfix in config 2019-06-27 17:12:39 +05:00
M1ha
1093dfdc04 Bugfix in config 2019-06-27 17:08:19 +05:00
M1ha
49a3018d03 Bugfix in config 2019-06-27 17:04:36 +05:00
M1ha
29988649f5 Bugfix in config 2019-06-27 16:58:22 +05:00
M1ha
b5c0567c78 Bugfix in installing migrations 2019-06-27 16:51:26 +05:00
M1ha
04c5ba292a Bugfix in installing migrations 2019-06-27 16:41:25 +05:00
M1ha
73bcaf29f0 Travis testing 2019-06-26 18:27:57 +05:00
M1ha
fafcbe4c93 Fixed python 3.7 compatibility issues 2019-06-26 12:24:46 +05:00
M1ha
ae253e0587 Багфиксы совместимости с python 3.7 2019-06-25 18:10:04 +05:00
M1ha
10fae9220c Added database parameters from infi.clickhouse_orm 1.0.4 2019-03-25 10:17:13 +05:00
M1ha
2798cbb602 Fixed bug with batched insert_tuple 2019-02-15 17:42:04 +05:00
M1ha
ab2fe24f74 Added request data logging in debug mode 2019-02-15 15:52:16 +05:00
M1ha
e436ae977b Fix for current clickhouse version 2019-02-15 15:43:59 +05:00
M1ha
fc100fb066 Added tests on database tuples operations 2019-02-15 15:19:27 +05:00
M1ha
90ec66f380 Changed model_to_dict, so it doesn't require _meta attribute,
if fields are given
2019-02-07 11:41:20 +05:00
M1ha
8d31209a58 Trying to fix queue monitoring increment bug 2019-02-06 17:47:54 +05:00
M1ha
4249b0e2b9 Measure time for inserting tuples 2019-02-05 15:17:37 +05:00
M1ha
ef6fc46c5c Measure time for inserting tuples 2019-02-05 15:13:15 +05:00
M1ha
df422d11f1 Disabled generators to monitor time better 2019-02-05 10:46:29 +05:00
M1ha
cc1502d4a4 Release lock if something goes wrong in sync 2019-02-04 13:27:12 +05:00
M1ha
bf69c29e4f Fixed serialization to tuple to_python converting 2019-02-04 13:07:45 +05:00
M1ha
a205b451a0 Chaned statsd key for inserted tuples 2019-02-04 12:52:21 +05:00
M1ha Shvn
2128dd0efc
Merge pull request #2 from carrotquest/namedtuple
Namedtuple
2019-02-04 11:13:22 +05:00
M1ha
056f2582d4 More optimization and fixed some bugs 2019-02-03 23:05:54 +05:00
M1ha
88c1b9a75c Merge branch 'master' into namedtuple 2019-02-03 21:20:08 +05:00
M1ha
0ddc31bc46 Added profiling test 2019-02-03 21:19:34 +05:00
M1ha
30b4b0568d Fixed sync test bugs 2019-02-03 21:05:01 +05:00
M1ha
16dce3d047 Changed library to using generators instead of lists
and namedtuple instead of infi Model instance, for been more efficient.
Problems with sync_test
2019-02-03 14:24:21 +05:00
M1ha
27c9ca4dfc Added namedtuple with defaults compatible. 2019-02-02 23:02:22 +05:00
M1ha
29a251b892 Fix bug in version column if it is renamed 2019-01-30 10:03:38 +05:00
M1ha
7034f165ac Changed RedisLock blocking alogrythm, so it doesn't wait,
if sync takes a little more than sync period
2019-01-25 13:47:26 +05:00
M1ha
b03b829ed9 Speed up get_final_versions 2019-01-24 17:47:52 +05:00
M1ha
cc76166ae1 Fixed problem for single lock for multiple models 2019-01-24 11:31:16 +05:00
M1ha
13a226501f Fix need_sync period 2019-01-24 11:14:19 +05:00
M1ha
2d2ec9c055 Added debug logs for need_sync 2019-01-24 11:02:44 +05:00
M1ha
c2a1ecc688 Trying to understand invalid sync period 2019-01-24 10:53:54 +05:00
M1ha
da21e9939a Moved sync start mark to the beggining of the task 2019-01-24 10:40:09 +05:00
M1ha
75fcdeeec0 Made redis storage a singleton in order to reduce number of connections 2019-01-23 17:01:10 +05:00
M1ha
ed3b3909ef Fix 2019-01-23 16:30:04 +05:00
M1ha
fae4247e79 Added lock timeouts monitoring 2019-01-23 16:28:27 +05:00
M1ha
42f823d3a5 Fixed a bug in many_init 2019-01-23 15:51:35 +05:00
M1ha
6db5f2b5bb Speed up init of multiple clickhouse models in a row 2019-01-23 15:43:46 +05:00
M1ha
e8549b9509 Removed not needed lock to speed up 2019-01-23 13:47:34 +05:00
M1ha
1a4ed0ddf6 Trying to speed up getting objects from multiple databases 2019-01-23 13:32:18 +05:00