30 Commits

Author SHA1 Message Date
Xu Peng
57dfdae3e3 feat(db): fix bug and add exception catch in meta operation
Former-commit-id: 6d33945997e7a528bc729efdad6076d6532f79b3
2019-04-28 18:44:25 +08:00
Xu Peng
1d9946ff87 feat(db): change sqlite_orm header dependency
Former-commit-id: d682b364b1b27a2af27f0246460bb9bbb6370fd0
2019-04-26 15:37:54 +08:00
Xu Peng
06ab815c7b feat(db): add count api
Former-commit-id: 9fb2b765a48d1753ba31a68e7b9b207273adb199
2019-04-24 10:28:05 +08:00
Xu Peng
d6344006e5 feat(db): add drop_all
Former-commit-id: 70720144d39f5ca18d349e475e66fb6ccca7bacf
2019-04-23 20:03:55 +08:00
Xu Peng
d8f40536c5 feat(db): add easylogging for debug log
Former-commit-id: 85e3e48f3b917d7ecf716805fa8d19af349bc35f
2019-04-22 17:00:39 +08:00
Xu Peng
2943126bda feat(db): add ttl files cleanup api
Former-commit-id: bb84f6f2baa8c20c9f0e745c67213af236609507
2019-04-22 15:08:26 +08:00
Xu Peng
abacf3e234 feat(db): change updated_time type of long
Former-commit-id: e58de06418bdb6b4f40f646ff5dc3d6a0efb12c0
2019-04-22 14:50:47 +08:00
Xu Peng
216aeb6bd0 feat(db): add updated_time in group_file meta
Former-commit-id: 0a2c3549b8b82267db3facc9606d8f8f90b02de2
2019-04-22 14:15:58 +08:00
xj.lin
457688d787 add search support
Former-commit-id: 4aae0710844eff71fb83f3d73f3fa7463b00e99b
2019-04-19 21:39:39 +08:00
Xu Peng
fe93299d9a fix(db): set new file rows to 0
Former-commit-id: a8690d08c1563f0c7ddd91d5709912a5aab49899
2019-04-19 16:08:12 +08:00
Xu Peng
a9ed75fc46 feat(db): remove mutex for meta operation
Former-commit-id: f5f168c15284d7fd9d9353cf78b2d421ae310187
2019-04-19 16:08:12 +08:00
Xu Peng
a6e92dc9ab feat(db): update for merege and index
Former-commit-id: b06f36ce5a8ebca0f1f4554437b19233f8f6f723
2019-04-18 21:00:40 +08:00
Xu Peng
08a1527b66 feat(db): fix missing location
Former-commit-id: 1a4a5c09c9b48e4d70a660050a289f9c7af59750
2019-04-18 21:00:40 +08:00
Xu Peng
2780b1a6d6 feat(db): fix meta lock issue
Former-commit-id: 9c276ca661d234e3e1268836fc6efddef408be3e
2019-04-18 21:00:40 +08:00
Xu Peng
58c0a6f838 feat(db): fix insert group bug
Former-commit-id: ff93f2cd24c2d952c95f55dd141f693ad995ec51
2019-04-18 21:00:40 +08:00
Xu Peng
a1ebba77e6 feat(db): fix insert bug
Former-commit-id: be162dd2b77e8ea1b47253f5f404a8874b46bddd
2019-04-18 21:00:40 +08:00
Xu Peng
98270ac004 feat(db): create group and partition folders
Former-commit-id: 8ac0992576c47435723d70d131d83571f30345b7
2019-04-18 21:00:40 +08:00
Xu Peng
8d5ef3fb27 feat(db): add where condition in files_to_merege
Former-commit-id: df201faf70298a074ac794fb4e4964b6b2426a69
2019-04-18 21:00:40 +08:00
Xu Peng
44f5d3e7eb feat(db): meta operation
Former-commit-id: 6f7cd4ec069195d659585b321fc5f6e6f20bb719
2019-04-18 21:00:40 +08:00
Xu Peng
9171a64170 feat(db): impl has_group
Former-commit-id: 8b58eef49cc7b1f328f8d2bd3bd42077cd6bf427
2019-04-18 10:50:24 +08:00
Xu Peng
1b4ccfdba4 feat(db): impl get_group
Former-commit-id: 5519dfb718d786120322faacd32ef364bcf8b82a
2019-04-18 10:50:24 +08:00
Xu Peng
0e6881d94c refactor(db): change get_group and add_group apis
Former-commit-id: 1b542b4b99af0ba88c7093584d9fc11fc3919560
2019-04-18 10:50:24 +08:00
Xu Peng
d4c835f975 feat(db): init sql orm unique ptr
Former-commit-id: bb0251bcd0349c1c9656dc6be908d3700c16f4bb
2019-04-18 10:50:24 +08:00
Xu Peng
fd2aee96b5 feat(db): impl add_group in meta
Former-commit-id: 3459cff7d6ccaa7e4b47fec7bcb1b5bbd44e1737
2019-04-18 10:50:24 +08:00
Xu Peng
eb8907667b feat(db): fake data for db meta
Former-commit-id: b6fb08599a93f48cc123998da9fa2c0f771a0d93
2019-04-18 10:50:24 +08:00
Xu Peng
2bc205b791 feat(db): add local meta
Former-commit-id: 30814a42efc7ad53847fc00d93903e1201c125d2
2019-04-18 10:50:24 +08:00
Xu Peng
f5348ed57c feat(db): file name mock
Former-commit-id: e99baa04809535f5f3c10d5b0c007c9c06ab159c
2019-04-18 10:50:24 +08:00
Xu Peng
de8e9176ce feat(db): impl build_index
Former-commit-id: 983d243660ad2a71f8a62c7ed81d4b6f521c03d0
2019-04-18 10:50:24 +08:00
Xu Peng
2269c0d980 feat(db): mock build_index related
Former-commit-id: eea24e1c5846af870694a10e865140efb0566a42
2019-04-18 10:50:24 +08:00
Xu Peng
53270e4b97 refactor(db): file name refactor
Former-commit-id: af418586311c0857e5c1e9fdd543806bb4ad7184
2019-04-18 10:48:56 +08:00