2033 Commits

Author SHA1 Message Date
groot
bf8e7545e1 avoid potential multi-threads risk
Former-commit-id: 6e54134e4249003ce651eaf8ec2642d8898d34f0
2019-05-26 14:46:38 +08:00
groot
224fae759c fix id miss bug
Former-commit-id: 53581de275e862ca9574014a6bd025918077dc59
2019-05-26 14:46:38 +08:00
jinhai
9941416b82 Update license check
Former-commit-id: 1579a302a09ad0c07ceb4b8293a884ad60eab993
2019-05-26 14:46:38 +08:00
groot
65583daaed avoid add vector to invalid group
Former-commit-id: f5d04e510b5d743488be82f492aad2b95929d9e1
2019-05-26 14:46:38 +08:00
Xu Peng
2d08fc415f refactor(db): add NextGroupId in DBMetaImpl
Former-commit-id: 56deb4603db20ac4ef677f1851a1e76e703a234f
2019-05-26 13:24:02 +08:00
Xu Peng
425e4b4b01 feat(db): move tables under tables directories to avoid name conflict with reserved meta files
Former-commit-id: de11db98c00ee071c8578a41c2e9ff673509fe63
2019-05-26 13:11:48 +08:00
Xu Peng
92da0fa4ca refactor(db): for schema changes
Former-commit-id: 3d1aa65da396177ff49e1922ae032cec834f7850
2019-05-26 13:02:22 +08:00
Xu Peng
495c8d4dd6 refactor(db): change rows to size in group file schema
Former-commit-id: 4386308bcfa1bd7136809c7e749e140b53517ca7
2019-05-26 13:02:02 +08:00
Xu Peng
e09240e45f test(db): refactor with meta consts
Former-commit-id: a611af0886bdeb51b4a38da2e80b84a4fd13d0cc
2019-05-26 12:26:23 +08:00
Xu Peng
b96459cc8b refactor(db): add MetaConsts
Former-commit-id: 5db9dfba91c61274a8334e8daba1488fe5bead3e
2019-05-26 12:26:06 +08:00
Xu Peng
767e63bd00 refactor(db): add MetaTypes.h
Former-commit-id: 2e6e61b9cf0db9728365c904fc2f491962ea5319
2019-05-26 11:51:09 +08:00
Xu Peng
f9889598d7 test(db): check size
Former-commit-id: 115707db134408a52f14e95d25c5d434c05d1c9f
2019-05-26 11:27:31 +08:00
Xu Peng
b2f079ed67 fix(db): fix size api for db meta
Former-commit-id: 88add7eef97827063e8e87f0d84aec62e66f7ca6
2019-05-26 11:27:31 +08:00
Xu Peng
3f28d33b6e test(db): add test for overall archive
Former-commit-id: 34b7aa89adc45c2505619b902e7701ce7df4e91a
2019-05-26 11:27:31 +08:00
Xu Peng
c30a6d4130 feat(db): add size api for db
Former-commit-id: 2fa9614c86fab66267689a06f73c0bef15dcffe8
2019-05-26 11:27:31 +08:00
Xu Peng
e15c445fb5 feat(db): add size api for meta
Former-commit-id: 0b240dbf664348f65a70e57a5d545857469ad37b
2019-05-26 11:27:31 +08:00
Xu Peng
0a7f334697 feat(db): add archive post merge and build index
Former-commit-id: 32678939225459bbfb82d491c53b912633fdb395
2019-05-26 11:27:31 +08:00
Xu Peng
3a658e7c56 refactor(db): add some debug print for newly added archive
Former-commit-id: 92b1220200bcbe82cfbf427f5a14d9fe800ec8b5
2019-05-26 11:27:31 +08:00
Xu Peng
80860535a7 test(db): add test for archive days
Former-commit-id: 10dcbdf0d3f32fd90904150c294cbe87a0ebfa7b
2019-05-26 11:27:31 +08:00
Xu Peng
cd2afcb2a4 refactor(db): remove dummy print
Former-commit-id: ffc431eeb98d3a4a52708954e2a1e240ad713ebc
2019-05-26 11:27:31 +08:00
Xu Peng
7565a53290 fix(db): update schema and unsigned long type handling
Former-commit-id: 03f17b0f071817350b4137ed31abfb1d5b7066be
2019-05-26 11:27:31 +08:00
Xu Peng
3b83dbf672 refactor(db): add utils
Former-commit-id: 48c9f7818c0260e3191a381879c3e83e0ad7ec9a
2019-05-26 11:27:31 +08:00
Xu Peng
4c44b02b5e test(db): add archive test
Former-commit-id: 7fc4969944759203524c0dbac8fc4421fd528f28
2019-05-26 11:27:31 +08:00
Xu Peng
c757be1cb6 fix(db): change type from into to size_t
Former-commit-id: 97f571c02189eb7cf3ade68f1d26aea2e2ce5f1c
2019-05-26 11:27:31 +08:00
Xu Peng
a073cf35d6 feat(db): add archive files in meta part 2
Former-commit-id: 76ce47cc2f152d569251b084030c3b747a8f50ff
2019-05-26 11:27:31 +08:00
Xu Peng
73d91135d1 feat(db): add archive files in meta
Former-commit-id: 64a1e267815cc9fb9ccd1b41b6ef8a1f082e3b20
2019-05-26 11:27:31 +08:00
Xu Peng
73fb498ff7 feat(db): add Archive conf in options
Former-commit-id: caa950e7119264fd911f21cd10b4fbb2db896b7d
2019-05-26 11:27:31 +08:00
Xu Peng
a7c22f8e53 test(db): test delete group partitions
Former-commit-id: af392c6bf9440a5d29ee152e4d4129153b499f94
2019-05-26 11:27:31 +08:00
Xu Peng
4e1736f3ab feat(db): add get group file api
Former-commit-id: 1c8ed181f4a38203300d48bbca0ed11b7a0185be
2019-05-26 11:27:31 +08:00
Xu Peng
315e532792 fix(db): get group bug fix
Former-commit-id: 0a7cc7e3791bf02ea899a3cafdc5698e52334027
2019-05-26 11:27:31 +08:00
Xu Peng
4eea03af5c feat(db): add simple delete partitions
Former-commit-id: ed39bb26d68f4ea576e824c081e72bfb17d15b8a
2019-05-26 11:27:31 +08:00
groot
9c95423231 prepare for gpu index
Former-commit-id: 764288e406f3a03822bca5e79b8d0ba9a3f4e13e
2019-05-23 11:01:11 +08:00
groot
0c699ac84b prepare for gpu index
Former-commit-id: 048b5c0f4ae84a1afcb57d43c7763c7617d64d26
2019-05-23 10:46:20 +08:00
groot
5f4e16f3d7 avoid potential multi-threads risk
Former-commit-id: c99078422d17cc33ebb4c74e5e85ca0f4203a4b1
2019-05-19 10:59:35 +08:00
jinhai
bef742c0a9 Merge branch 'jinhai' of http://192.168.1.105:6060/jinhai/vecwise_engine into jinhai
Former-commit-id: 662de1631e4fe01c940b471f98fce654c52c0495
2019-05-17 20:18:24 +08:00
jinhai
2c42210e8c MS-1 Add Change log
Former-commit-id: 681054dc191d1f4cbdebf215c3fd0905aeb53e94
2019-05-17 20:17:51 +08:00
jinhai
af77eb7f89 MS-1 Add Change log
Former-commit-id: 5ab75cc621527fd2e095748728dcfe9731673fd4
2019-05-17 20:16:18 +08:00
yhmo
c19b49abc4 Merge branch 'id_bug' into 'release-v1.1'
fix id miss bug

See merge request megasearch/vecwise_engine!27

Former-commit-id: 5505393398813c49a428511d378da6af2f703c1a
2019-05-17 17:50:18 +08:00
groot
833f52c7a1 fix id miss bug
Former-commit-id: ad0d56ad7e1faef38e31c773fcc8fd3f7c1fe664
2019-05-17 17:33:28 +08:00
Xu Peng
c04a7c0e78 fix(db): fix create directory bug in release
Former-commit-id: e060ff269f66c02c69978e0a7c77afae59528eb4
2019-05-16 11:24:21 +08:00
Xu Peng
4380016d4a fix(db): fix create directory bug in release
Former-commit-id: 511730da61c4afac4b09e38aafaf77ea9617b822
2019-05-16 11:20:10 +08:00
jinhai
0d0c10df11 Update license check
Former-commit-id: ab88deb5aaeadda3626106a3a4cf3600131f528e
2019-05-15 20:22:04 +08:00
groot
c078cc8516 avoid add vector to invalid group
Former-commit-id: 3df82dd670ada8f24b3fb3a2411337e953b7c1b5
2019-05-15 19:57:31 +08:00
jinhai
c7f4708fe7 Update README.md and conf
Former-commit-id: 014cd72b6c70e8924758236798ad4d0c12fa099e
2019-05-15 17:28:02 +08:00
groot
7cfd01a2ba build test_client
Former-commit-id: d10961136389a1218dbea8e77a72d5b1b884d2d7
2019-05-15 17:09:43 +08:00
yhmo
011be04411 Merge branch 'jinhai' into 'release-v1'
# Conflicts:
#   cpp/src/utils/Error.h

Former-commit-id: 18470ad3970bec55315d738a006355c1ce2c1f4c
2019-05-15 16:40:00 +08:00
yangwei.yao
74d5802ba4 unit test
Former-commit-id: 3806f1d475b2dd1259fe48a013f01389f8975e5c
2019-05-15 15:01:07 +08:00
yangwei.yao
35eeae6f08 license check is vaild
Former-commit-id: 7381ad310d5b554c99f1f19f7fc460b33c36659f
2019-05-15 15:01:07 +08:00
Xu Peng
a6853a5726 fix(db): fix cache error after load file from disk part 2
Former-commit-id: e684913260dee0f4e5c39729f12e29925c1fb118
2019-05-15 13:21:58 +08:00
Xu Peng
59544b0341 fix(db): fix cache error after load file from disk
Former-commit-id: 23dd81d168caa49451634ef7a97c6fa618c92957
2019-05-15 11:47:21 +08:00