198 Commits

Author SHA1 Message Date
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
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
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
0b545a70d8 change build settings
Former-commit-id: fe3df7b281a528d4e07669c7c4e0e1521eb6bf2a
2019-04-21 16:19:04 +08:00
Xu Peng
cb82771ef4 feat(db): change open db api
Former-commit-id: f9c5b0714096075d7a869b248a8b44201b41d0e0
2019-04-19 21:39:59 +08:00
xj.lin
457688d787 add search support
Former-commit-id: 4aae0710844eff71fb83f3d73f3fa7463b00e99b
2019-04-19 21:39:39 +08:00
Xu Peng
8e1e03b2ba feat(db): cleanup pre db destruction
Former-commit-id: 98270b53f6bafcde31d44039bb224d547ce71b07
2019-04-19 16:08:12 +08:00
Xu Peng
2de4f04771 fix(db): no default sqlite dumped
Former-commit-id: d5b6964706cbb0870e5cc9c8fab048a849dd3fa1
2019-04-19 16:08:12 +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
xj.lin
cc641236d2 add TopK
Former-commit-id: 847a46e3b7ab8bead610ec9888fce5a4279a6920
2019-04-19 16:07:45 +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
75c35f5184 feat(db): serialize file bug fix
Former-commit-id: 0596a907902f32e7cb172d471eea66714912fe5f
2019-04-18 21:00:40 +08:00