Commit Graph

453 Commits (aa60c6287037f822344608f1232f8ba58f0d3d6a)

Author SHA1 Message Date
Xu Peng aa60c62870 refactor(db): remove dummy struct
Former-commit-id: a90c3f127fb84a879956a8383af9def829504208
2019-05-28 11:00:10 +08:00
groot 22e2a2bc3f throw exception for invalid index type
Former-commit-id: b028167c2460be4738af5f092a443749dba89bc0
2019-05-28 09:59:06 +08:00
groot fe5b511596 add search example
Former-commit-id: f38cc87551001449c5930fb719ba038b45af47df
2019-05-27 20:34:20 +08:00
groot 15503d334a Merge remote-tracking branch 'source/branch-1.2' into branch-1.2
Former-commit-id: 772b757f2d486822a261b5f250d7daad3887e806
2019-05-27 19:59:31 +08:00
groot 4b244f9d45 redefine thrift api
Former-commit-id: 8d7d1c47202341521cf06a567e8f7cf3cfc55074
2019-05-27 19:57:09 +08:00
Xu Peng c5b931d59e test(db): fix test error after impl exception
Former-commit-id: 71184ffe49ac0130d2002aef4f8f55c825414d0c
2019-05-27 14:59:00 +08:00
Xu Peng 9dcc68b814 feat(db): add exception
Former-commit-id: b2a9deb7df0544a303858fff7f4d6eddf3e6b1f7
2019-05-27 14:58:38 +08:00
Xu Peng d744ef4a33 fix(db): replace locatime with locatime_r for thread safe concern
Former-commit-id: 1b857e297c3b26e2730f86c67e8dc798755493fe
2019-05-27 10:35:41 +08:00
Xu Peng 37fc30e439 env(all): update change log
Former-commit-id: e9124716de75572eab1e027809b2b90a25ae127f
2019-05-26 19:35:30 +08:00
Xu Peng 7337cef31c Merge branch 'release-v1.1' into impl_simple_delete
Former-commit-id: 10d74a865946328366a49fb389d0038858064e83
2019-05-26 17:37:52 +08:00
Xu Peng 1c6a012b46 Merge branch 'branch-1.2' of http://192.168.1.105:6060/megasearch/vecwise_engine into release-v1.1
Former-commit-id: 56c25fba480cf53fed8e03f820a597dfd8138436
2019-05-26 17:34:32 +08:00
Xu Peng 74e6ef4a9c test(db): fix for ARHIVE_DISK_CHECK
Former-commit-id: 1a82a410db91e2b6f9ddc38bafc491a1204c0dd1
2019-05-26 16:51:30 +08:00
Xu Peng ff3a89b997 feat(db): archive after every serliazation
Former-commit-id: bf5191dc707e7336d64534110aa49a2d36da1a1e
2019-05-26 16:50:56 +08:00
jinhai ec579df59c MS-3 Add SDK interface
Former-commit-id: 351fb4356e4318efc85dd7ba9b32873a71faf910
2019-05-26 15:59:05 +08:00
Xu Peng 3958fe5a35 refactor(db): add NextFileId
Former-commit-id: 51a1f75881a8a1f85e3fdc8ac7217218976cc11c
2019-05-26 15:17:46 +08:00
jinhai ad8ef08bf9 MS-4 Refactor the vecwise_engine code structure
Former-commit-id: acade700d7956ad8c4c5ecaaecf23997b0ca5161
2019-05-26 14:48:13 +08:00
jinhai d8bb0ac9af MS-4 Refactor the code structure
Former-commit-id: 369b9f28d1391765b4d4dada2140b261132a0e55
2019-05-26 14:46:38 +08:00
jinhai 8d3ad6aeae MS-4 Refactor the code structure
Former-commit-id: ab2c7af5968b367ca27bac2d991b0dae5ad2dc75
2019-05-26 14:46:38 +08:00
groot cb585e74f0 prepare for gpu index
Former-commit-id: 92a3a851a63c72f98cecd1d0634d1f60c4d810b3
2019-05-26 14:46:38 +08:00
groot 757286e1ba prepare for gpu index
Former-commit-id: ea47029addad06a023919f08a679956de69397f6
2019-05-26 14:46:38 +08:00
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