Commit Graph

5703 Commits (cbba262442a42cc22ae24e00842d901b58321c97)

Author SHA1 Message Date
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 a46f557c11 Merge branch 'impl_simple_delete' of http://192.168.1.105:6060/peng.xu/vecwise_engine into impl_simple_delete
Former-commit-id: ece8fc055418ba54323f7fd53238123dacabc36f
2019-05-26 11:27:48 +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
Xu Peng bb75cb93d8 test(db): check size
Former-commit-id: 07d052fdd6713e728595aff1c21a5b6cde62085c
2019-05-26 11:14:17 +08:00
Xu Peng dfb0952880 fix(db): fix size api for db meta
Former-commit-id: b58a3f27ee9b574af78894eb6fb5120904430c66
2019-05-26 11:13:34 +08:00
Xu Peng c90aee8972 test(db): add test for overall archive
Former-commit-id: a90507f675e2ac56e87fb3884d9729d48d178317
2019-05-24 18:16:27 +08:00
Xu Peng b2af844f20 feat(db): add size api for db
Former-commit-id: 9d20366e22996fc7bb3e7e983ebfa9999591ba6b
2019-05-24 18:15:50 +08:00
Xu Peng c1024aa26c feat(db): add size api for meta
Former-commit-id: b169c9ec743b2defe4421fbe20c5ef0970aa0ea7
2019-05-24 17:41:43 +08:00
Xu Peng 9b967056ed feat(db): add archive post merge and build index
Former-commit-id: a54382cec05b4a3e955e126ed3e8b58270b725cf
2019-05-24 17:30:33 +08:00
Xu Peng 7144ab8de6 refactor(db): add some debug print for newly added archive
Former-commit-id: 5741a45032d63e21fbcaa3cc6fdacd7363fb81d7
2019-05-24 16:43:01 +08:00
Xu Peng 5cb98b8396 test(db): add test for archive days
Former-commit-id: 26da52668e347f6157408be234dc643fd3b2621f
2019-05-24 15:35:29 +08:00
Xu Peng 9fcfb1e8e5 refactor(db): remove dummy print
Former-commit-id: d085da4d7b5f81cf3183393751aa80b7f5f966e7
2019-05-24 15:31:18 +08:00
Xu Peng e46a1ece01 fix(db): update schema and unsigned long type handling
Former-commit-id: 59c0446b0f1a2e1c3dc4b01ce5cf088f66d23178
2019-05-24 14:56:13 +08:00
Xu Peng e3c100783c refactor(db): add utils
Former-commit-id: d42ae31c70d1e981ae847454b81c24027ad49cb0
2019-05-24 11:48:40 +08:00
Xu Peng 5d0b5e99f4 test(db): add archive test
Former-commit-id: e8c2116cd7bdec959950b2d2735c4f26d0a4a1d8
2019-05-24 10:58:07 +08:00
Xu Peng 7226617782 fix(db): change type from into to size_t
Former-commit-id: e1e16afbac7ea8d763c328c9903f4cbe2689d755
2019-05-24 10:55:54 +08:00
Xu Peng 5c79aaf51f feat(db): add archive files in meta part 2
Former-commit-id: 0e534409c959a15d8bf746d6fb9fad093d787bda
2019-05-23 20:35:59 +08:00
Xu Peng 89cdeb1181 feat(db): add archive files in meta
Former-commit-id: 0d284f947dbf65bbc258a037eec1bb5458fa0007
2019-05-23 20:22:39 +08:00
Xu Peng bbeb77dcae feat(db): add Archive conf in options
Former-commit-id: fdae1cf2a4f86d12753ce6c4cc665178df0c1f76
2019-05-23 18:58:55 +08:00
groot d07379e51e prepare for gpu index
Former-commit-id: 3ee5d9b3575407dbc8226cc0e4df634386cdf61f
2019-05-23 18:57:15 +08:00
groot 27b2f8efba prepare for gpu index
Former-commit-id: c8f58a927afbb53934ec326bcdaa48267bec68c0
2019-05-23 18:57:15 +08:00
yhmo 21df52d528 Merge branch 'gpu_index' into 'release-v1.1'
Gpu index

See merge request megasearch/vecwise_engine!30

Former-commit-id: 0c6ac3654b7db91870414870afcd63d54762992f
2019-05-23 11:03:32 +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
Xu Peng 53452841d1 test(db): test delete group partitions
Former-commit-id: b8575a928d8daaf91b3420e03cf382566eb841dd
2019-05-20 11:33:26 +08:00
Xu Peng 7816834198 feat(db): add get group file api
Former-commit-id: f01dabd02174e69672a29e8dd5d27ec18f915089
2019-05-20 11:33:10 +08:00
Xu Peng 36cc019f2b fix(db): get group bug fix
Former-commit-id: 26769b5f33531210ab4a7810a1dbd6ed78310583
2019-05-20 10:47:59 +08:00
Xu Peng 5a406d6ea0 feat(db): add simple delete partitions
Former-commit-id: 61aeee06c7d928939e6d3d28013630464cf0e046
2019-05-19 21:50:24 +08:00
groot 5f4e16f3d7 avoid potential multi-threads risk
Former-commit-id: c99078422d17cc33ebb4c74e5e85ca0f4203a4b1
2019-05-19 10:59:35 +08:00