Commit Graph

8973 Commits

Author SHA1 Message Date
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
393b3873b7 Merge branch 'search' into jinhai
Former-commit-id: 6de85a6c8412b0f9f98aace5a76a6f5ffb27497a
2019-04-23 11:59:16 +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
groot
71d9c14bf7 Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: 1fb48f7b39f74b57aad58ef6c73b9ba8fd709410
2019-04-22 15:44:53 +08:00
groot
b84fa78707 build rocksdb
Former-commit-id: e8fb5903caf43ea33246bb2b6fd07369d10c1809
2019-04-22 15:44:46 +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
d003ed2af4 ignore release output folder
Former-commit-id: 97f38223aaec0c83ec9b8966329792605e5e22b4
2019-04-22 14:08:30 +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
groot
0b545a70d8 change build settings
Former-commit-id: fe3df7b281a528d4e07669c7c4e0e1521eb6bf2a
2019-04-21 16:19:04 +08:00
groot
2b035e54a6 index search unittest
Former-commit-id: 9632c0668ce71d07bba6f13e9ee46df4e1af6b38
2019-04-21 15:55:48 +08:00
groot
885b95e2ea refine code
Former-commit-id: 5916e0c3afaa752bcc3ff3cef69d30244be0b6c7
2019-04-21 11:31:36 +08:00
jinhai
fb5c43f141 all cuh files will also be cp to build directory
Former-commit-id: 4b5684118045ed269733bd772ec994947aa9304b
2019-04-21 09:44:59 +08:00
xj.lin
fad9f773fd Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: 0fbd96bd0c21068d989b897fae395c403b732e4a
2019-04-19 21:40:02 +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
6d6f7e6ff2 feat(db): change open db api
Former-commit-id: 145b55b170bc9050daa6191752096e1418533aea
2019-04-19 17:11:33 +08:00
xj.lin
d7c7720ef6 update cmakefile
Former-commit-id: 2827b60ab09f52a244a6da690c42340884a48f39
2019-04-19 16:43:30 +08:00
xj.lin
b8557278d6 Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: ffc6296b2fa45fcad0a544389b79eb2a16589596
2019-04-19 16:08:17 +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
efeecf54e0 feat(db): cleanup pre db destruction
Former-commit-id: 3eb7940392378a61e031d0b840d7b5e797e10f6e
2019-04-19 15:57:12 +08:00
Xu Peng
2a886ca191 fix(db): no default sqlite dumped
Former-commit-id: 763198a34f09cfecc6d768b0b6eb28a29e1bf288
2019-04-19 10:17:17 +08:00
Xu Peng
7c6a033a6a fix(db): set new file rows to 0
Former-commit-id: ca814fc5f6c81679e25ec4cd195b430a89b52383
2019-04-19 10:16:52 +08:00
Xu Peng
ef59efc76a feat(db): remove mutex for meta operation
Former-commit-id: 349c7856679f76eedd9c29f0208bd27beae93b33
2019-04-19 10:00:06 +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