Commit Graph

21 Commits

Author SHA1 Message Date
M1ha
df422d11f1 Disabled generators to monitor time better 2019-02-05 10:46:29 +05:00
M1ha
056f2582d4 More optimization and fixed some bugs 2019-02-03 23:05:54 +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
29a251b892 Fix bug in version column if it is renamed 2019-01-30 10:03:38 +05:00
M1ha
b03b829ed9 Speed up get_final_versions 2019-01-24 17:47:52 +05:00
M1ha
6db5f2b5bb Speed up init of multiple clickhouse models in a row 2019-01-23 15:43:46 +05:00
M1ha
6a4bf14ea6 1) Fixed get_final_versions statsd timer key
2) Added individual model operations statsd monitoring for ClickHouseMultiModel
2019-01-18 10:47:26 +05:00
M1ha
073e002125 Багфикс в версиях вставки данных в кликхаус 2019-01-16 17:17:48 +05:00
M1ha
43815723df Added tests for get_final_versions on date and datetime 2019-01-14 12:45:46 +05:00
M1ha
ec72e31986 Tests written for get_final_version 2019-01-14 11:32:21 +05:00
M1ha
ba3f2f6c1b Fixed getting final versions if DateTimeField is used 2019-01-14 10:56:54 +05:00
M1ha
1f3dcedf55 Added ability to get final rows version with the help of version_col 2019-01-11 13:00:42 +05:00
M1ha
7e502ee8a8 1) Fixed SyncKillTest
2) Added some logs
2018-12-03 16:41:34 +05:00
M1ha
6261d69821 Added extra method in model to get insert batch 2018-11-22 12:54:51 +05:00
M1ha
e4b2958895 Changed serializer init to concrete model fields 2018-11-22 12:33:51 +05:00
M1ha
9b02a49bc9 Added all MergeTree engines supported in infi.clickhouse_orm 2018-11-22 11:09:38 +05:00
M1ha
6e0bc424d7 1) Finished sync celery tasks.
2) RedisStorage now prevents parallel sync with RedisLock
2018-11-20 17:24:15 +05:00
M1ha
61066e0ec7 statsd metrics set up 2018-11-16 17:41:54 +05:00
M1ha
d4e9a705d1 1) Refactoring
2) Bug fixes
3) Simple tests on syncing MergeTree and CollapsingMergeTree
2018-11-16 15:16:36 +05:00
M1ha
4480c1ae1d Added migration system. 2018-11-16 13:14:40 +05:00
M1ha
8e9963ad3b Added sync mechanism without tasks, but not tested as no migrations 2018-11-15 16:50:38 +05:00