358 Commits

Author SHA1 Message Date
yu yunfeng
8510104066 fix conflict
Former-commit-id: cffe275e0430a89b99c17574766dff7c972d810d
2019-05-28 10:02:20 +08:00
yu yunfeng
0df4068cc3 add metrics
Former-commit-id: 357b4f65b49d91c85a83d00513dfea830372341f
2019-05-27 15:59:16 +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
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
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
8d3ad6aeae MS-4 Refactor the code structure
Former-commit-id: ab2c7af5968b367ca27bac2d991b0dae5ad2dc75
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
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
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
b2f079ed67 fix(db): fix size api for db meta
Former-commit-id: 88add7eef97827063e8e87f0d84aec62e66f7ca6
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
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
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
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
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
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
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
jinhai
7c512bf752 Update on license check
Former-commit-id: ef039b5663e0a68c1dfdea7244de4d2e7e16c10e
2019-05-15 11:26:56 +08:00
yangwei.yao
128bc2b420 Refactor
Former-commit-id: 5c57d9054cae1e468a5795b928ecab4d18c1d4af
2019-05-15 11:26:56 +08:00