Commit Graph

233 Commits (7e00f351e1e51f96a4b129931f1b3aa44e37c6e5)

Author SHA1 Message Date
Xu Peng 7e00f351e1 test(db): change log format for unittest
Former-commit-id: a364d3800fbefbd9287df906b5e69f4ec89d1aa7
2019-04-26 17:59:51 +08:00
Xu Peng 5fbe3d9641 feat(db): remove limit for id generator
Former-commit-id: a110cfa01b6207cd76fd1ee000945c04c48b0d88
2019-04-26 17:59:14 +08:00
Xu Peng 062c3aad91 feat(db): merge file optimize
Former-commit-id: fea0d7970fab88f995d9d16d7dfea84dd4fbacb7
2019-04-26 17:18:27 +08:00
Xu Peng 1d9946ff87 feat(db): change sqlite_orm header dependency
Former-commit-id: d682b364b1b27a2af27f0246460bb9bbb6370fd0
2019-04-26 15:37:54 +08:00
groot a21ad0b743 fix task bug
Former-commit-id: f5debab3ff1c4000596f4cf625f37ba83ec54296
2019-04-26 15:37:10 +08:00
groot 75410aed03 refine scheduler
Former-commit-id: 9b772adf62a9f7f2ae349f3a2420fcecb08af6ce
2019-04-25 16:41:01 +08:00
yhmo 87d0ed293e Merge branch 'scheduler' into 'jinhai'
Scheduler

See merge request jinhai/vecwise_engine!16

Former-commit-id: 1adc4d5f745ac461680ce6f7d7bb14d8044ef87a
2019-04-25 12:18:41 +08:00
groot b03aafdc41 implement scheduler
Former-commit-id: 1be5a738138a626ddb4a7412e798c74debbc4c3a
2019-04-25 12:17:56 +08:00
groot 11cb43ac2e add scheduler
Former-commit-id: aead7396cc627fc680408188d3182fd098b5271d
2019-04-25 09:38:27 +08:00
Xu Peng b9af8670db test(db): update test
Former-commit-id: f3bf72ecd3c482d9a270342009f13be5263f89ca
2019-04-24 20:12:26 +08:00
groot 4864a960b2 Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: 32f8a5ce257cf776000a93e865bdb7a41f8e31e8
2019-04-24 19:23:45 +08:00
groot 7d2b94f4ae print cache info
Former-commit-id: 056e15ab3715f03b89648c84d5ea6498708971c1
2019-04-24 19:23:37 +08:00
xj.lin ce7bc10f8c fix search
Former-commit-id: 14a6408d66811f1d1a1d5bb1cbbddbecb5dd4d51
2019-04-24 18:19:29 +08:00
groot 3815528396 modify thrift api
Former-commit-id: 9516c969a09e06c073e02b1186503776df2f370a
2019-04-24 17:34:21 +08:00
Xu Peng d402dd9dce fix(db): code fix
Former-commit-id: fbb9040ada2c355dad1e13526f8f16c36e155716
2019-04-24 16:25:50 +08:00
Xu Peng a6369c7a4e feat(db): cache for search
Former-commit-id: 8e13efdaa593b4ebb83b06d33d5127180d756597
2019-04-24 16:20:36 +08:00
Xu Peng 4e59f966c3 feat(db): cache for mem merge
Former-commit-id: bff342710683954dcd4b72b890fff483708ceba0
2019-04-24 16:04:14 +08:00
Xu Peng 22281e8ea5 feat(db): cache for mem serialization
Former-commit-id: 9d3211b9c4bfa6132cd52822e19c1ae5d287d9a2
2019-04-24 15:47:34 +08:00
Xu Peng 7150d3c5aa feat(db): cache for index
Former-commit-id: e33cb100824e8714e539bec4f6622753001a9606
2019-04-24 15:42:08 +08:00
Xu Peng 1fa42f9d61 feat(db): add data api for wrapper
Former-commit-id: baabe91cc364d832e17016c554d66e29e400dfd4
2019-04-24 15:29:45 +08:00
Xu Peng 2e8d45aad3 feat(db): cache merged file
Former-commit-id: d236a8dbfcb01d07b6b544aa98a7e1dd179fc477
2019-04-24 15:16:38 +08:00
groot d6044cfc32 fix build error
Former-commit-id: d06ecbf29ddd4b70bfd056341c6537c66f9dbb55
2019-04-24 15:16:32 +08:00
groot 8185c9fb27 rewrite cache code
Former-commit-id: d4a2336ade2a39d34380dba715290992dcdabc84
2019-04-24 13:57:22 +08:00
groot 41cb7fa0ec Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: 3446551c5ae37cb4e54349d98227d5105abcb54e
2019-04-24 12:10:42 +08:00
groot 01c5b43130 rewrite cache code
Former-commit-id: 7dc429b553891f98baa0cef21bee58c545ab9748
2019-04-24 12:10:37 +08:00
Xu Peng 918c113727 fix(db): fix memory leak
Former-commit-id: 1c5b7e0ab18f9508aa5aeecfc7caecf5ac74fd45
2019-04-24 11:53:26 +08:00
groot 97d4738bc6 rewrite cache code
Former-commit-id: 00247bcda3df3d0e29bc4a809f7894ce92470e0e
2019-04-24 11:52:13 +08:00
Xu Peng 06ab815c7b feat(db): add count api
Former-commit-id: 9fb2b765a48d1753ba31a68e7b9b207273adb199
2019-04-24 10:28:05 +08:00
groot 4ce28a1e21 Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: 6ef6cb1953310c4e01b1787e1a041c25f7dfd951
2019-04-24 10:25:11 +08:00
groot dc3e4f58a8 rewrite cache code
Former-commit-id: 8e76ab5219eedd24563ece59f70dec8a4464c44d
2019-04-24 10:25:00 +08:00
Xu Peng 7509e28d91 feat(db): try build index every interval
Former-commit-id: 15571dc68be30524189c73800ce8050ed8a2f9aa
2019-04-23 20:57:00 +08:00
Xu Peng af39787c92 feat(test): add unit test
Former-commit-id: 614f9c9b275b1893f212b0de966e069264fd13cc
2019-04-23 20:55:15 +08:00
Xu Peng d6344006e5 feat(db): add drop_all
Former-commit-id: 70720144d39f5ca18d349e475e66fb6ccca7bacf
2019-04-23 20:03:55 +08:00
Xu Peng d7a87d14b1 feat(db): try build index every merege interval
Former-commit-id: ee639ab9b93b0a3bd5950276749f0dad3dc53227
2019-04-23 16:48:24 +08:00
groot 0bcb727b46 Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: 086d172e4c9ba7db6a271940f2baa6ab5ede6069
2019-04-23 16:34:56 +08:00
groot f642a7b38e redefine id mapper interface
Former-commit-id: 6fa296aa09aae1019ed1e49a481c3a1e34440071
2019-04-23 16:34:43 +08:00
xj.lin db32c300e8 feat: add search support
Former-commit-id: 0bb20ad7b80ca432b83154efd59cb89e7cc2867c
2019-04-23 11:58:43 +08:00
groot 82fe888083 add unittest
Former-commit-id: 9c22540ce32d94d7f17626edb985d9c00af8fdec
2019-04-23 11:21:14 +08:00
groot 2d9fb6b959 fix a bug
Former-commit-id: 26f6048d0c32fe83cc2bdc377efcde41f8877d2a
2019-04-23 10:51:18 +08:00
groot 3f7fe2548a add id mapper
Former-commit-id: 56cfee9e3beeb474e2a56c3e3a3fdda111cfabb2
2019-04-23 10:10:20 +08:00
groot 8909b19722 add id mapper class
Former-commit-id: 6d9b05faca8200417e68de306abe2f1a35b601ff
2019-04-22 17:50:52 +08:00
groot e9b7063402 add id mapper class
Former-commit-id: b12be12ea33f4b3f99a4f65b1156d7a86007dcc1
2019-04-22 17:27:03 +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
Xu Peng b377266934 feat(db): add some print
Former-commit-id: 200b365c40532a13d777457bd53e6788fd613559
2019-04-22 14:15:58 +08:00
groot dbadb94091 add id mapper class
Former-commit-id: f0c14a9905825c0970f19b2bd53da610954c07c0
2019-04-22 14:07:29 +08:00
groot e7075c185d modify server api
Former-commit-id: 3eff45989dd09bf7b7aae8b2a004f83898708dd6
2019-04-22 13:56:38 +08:00
groot 41220cb25d add db unittest
Former-commit-id: 5a9e4a10ada30d19fee14b1d2e1d4123ac6dee04
2019-04-21 17:01:02 +08:00