Commit Graph

20127 Commits

Author SHA1 Message Date
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
Xu Peng
a1ebba77e6 feat(db): fix insert bug
Former-commit-id: be162dd2b77e8ea1b47253f5f404a8874b46bddd
2019-04-18 21:00:40 +08:00
Xu Peng
98270ac004 feat(db): create group and partition folders
Former-commit-id: 8ac0992576c47435723d70d131d83571f30345b7
2019-04-18 21:00:40 +08:00
Xu Peng
75c35f5184 feat(db): serialize file bug fix
Former-commit-id: 0596a907902f32e7cb172d471eea66714912fe5f
2019-04-18 21:00:40 +08:00
Xu Peng
8d5ef3fb27 feat(db): add where condition in files_to_merege
Former-commit-id: df201faf70298a074ac794fb4e4964b6b2426a69
2019-04-18 21:00:40 +08:00
Xu Peng
44f5d3e7eb feat(db): meta operation
Former-commit-id: 6f7cd4ec069195d659585b321fc5f6e6f20bb719
2019-04-18 21:00:40 +08:00
groot
6e1e282865 refine code
Former-commit-id: d5ee6d0520568a27f7e75754ec05c98a05b7f246
2019-04-18 17:26:03 +08:00
groot
6fbb37a759 avoid build failure
Former-commit-id: 7790321f9a935ea784a8ffdb845f5c2391bc6da2
2019-04-18 15:37:31 +08:00
xj.lin
465bd19948 fix bug
Former-commit-id: 1c21d81875ec000c6f26ef8f2c367df8992fde59
2019-04-18 11:21:49 +08:00
xj.lin
a7657e1e3d update dbschema
Former-commit-id: dbccc662f41d36199fd59000a02de7693acda4e8
2019-04-18 10:57:38 +08:00
xj.lin
eef523f8ba Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: 0256614a23ffa2504065fa978cbe869e5f99aba7
2019-04-18 10:50:44 +08:00
Xu Peng
9171a64170 feat(db): impl has_group
Former-commit-id: 8b58eef49cc7b1f328f8d2bd3bd42077cd6bf427
2019-04-18 10:50:24 +08:00
Xu Peng
1b4ccfdba4 feat(db): impl get_group
Former-commit-id: 5519dfb718d786120322faacd32ef364bcf8b82a
2019-04-18 10:50:24 +08:00
Xu Peng
0e6881d94c refactor(db): change get_group and add_group apis
Former-commit-id: 1b542b4b99af0ba88c7093584d9fc11fc3919560
2019-04-18 10:50:24 +08:00
Xu Peng
0935924798 feat(env): add sqlite3 in dependency
Former-commit-id: 192593de9056e0dfba3110221b3d4f6e869a8354
2019-04-18 10:50:24 +08:00
Xu Peng
d4c835f975 feat(db): init sql orm unique ptr
Former-commit-id: bb0251bcd0349c1c9656dc6be908d3700c16f4bb
2019-04-18 10:50:24 +08:00
Xu Peng
fd2aee96b5 feat(db): impl add_group in meta
Former-commit-id: 3459cff7d6ccaa7e4b47fec7bcb1b5bbd44e1737
2019-04-18 10:50:24 +08:00
Xu Peng
eb8907667b feat(db): fake data for db meta
Former-commit-id: b6fb08599a93f48cc123998da9fa2c0f771a0d93
2019-04-18 10:50:24 +08:00
Xu Peng
adc087c57e feat(db): changes to local meta
Former-commit-id: 95ddf67ccd65c7a00a4f23599947ba9693fea78a
2019-04-18 10:50:24 +08:00
Xu Peng
cc5290693d fix(db): fix compile error
Former-commit-id: b0734cdc673bbc74ef8b670e2d6f56edc5364eec
2019-04-18 10:50:24 +08:00
Xu Peng
2bc205b791 feat(db): add local meta
Former-commit-id: 30814a42efc7ad53847fc00d93903e1201c125d2
2019-04-18 10:50:24 +08:00
Xu Peng
f5348ed57c feat(db): file name mock
Former-commit-id: e99baa04809535f5f3c10d5b0c007c9c06ab159c
2019-04-18 10:50:24 +08:00
Xu Peng
de8e9176ce feat(db): impl build_index
Former-commit-id: 983d243660ad2a71f8a62c7ed81d4b6f521c03d0
2019-04-18 10:50:24 +08:00
Xu Peng
4b5044daf0 fix(wrapper): fix write index
Former-commit-id: 3e96e1039dc77d768695e1a1f5bcdb72bc4866d3
2019-04-18 10:50:24 +08:00
groot
c224e5bcac build faiss thrift optional
Former-commit-id: e0f2c5408bbd830220a1d43432695442aa6d53c7
2019-04-18 10:50:24 +08:00
Xu Peng
86342b9578 feat(wrapper): add one more build_all api in IndexBuilder
Former-commit-id: b24296b10003d45616d3a38c86ab4657f691713a
2019-04-18 10:50:24 +08:00
Xu Peng
2269c0d980 feat(db): mock build_index related
Former-commit-id: eea24e1c5846af870694a10e865140efb0566a42
2019-04-18 10:50:24 +08:00
Xu Peng
817d032a02 refactor(db): using wrapper write_index
Former-commit-id: d72e2bb4ee8122da76a23661df802adc3447d3f7
2019-04-18 10:50:24 +08:00
Xu Peng
e60b4f0bd1 refactor(db): using index factory in MemManager
Former-commit-id: 31cc3fe760f94eb9c5e673f44b0a0d1de8c98c40
2019-04-18 10:50:24 +08:00
Xu Peng
6ea0bbadaf refactor(db): using index factory
Former-commit-id: aa34392ec71eb4181a37625f07c2995a57e8cc57
2019-04-18 10:50:24 +08:00
groot
3224c4eb70 client call api
Former-commit-id: f2d5ccecb8359642ba8d63ef538b90fba209b2b5
2019-04-18 10:50:24 +08:00
Xu Peng
8b5aa978ec feat(db): add build index thread
Former-commit-id: f3df7ccdd381ec67aaca4a66401644249bdb0b3d
2019-04-18 10:48:56 +08:00
groot
e568941180 refine code
Former-commit-id: 4406ca272f134594421b89aa34b6f91a3d8a92a4
2019-04-18 10:48:56 +08:00
Xu Peng
c2cfc98b77 refactor(db): refactor options
Former-commit-id: 53812504248a4a81f2f65ee07e81ad2d5e31eb38
2019-04-18 10:48:56 +08:00
Xu Peng
53270e4b97 refactor(db): file name refactor
Former-commit-id: af418586311c0857e5c1e9fdd543806bb4ad7184
2019-04-18 10:48:56 +08:00
groot
8d4d0c07e3 support more protocol
Former-commit-id: c064f5c924b24857c114178f3ab310ae67d553c2
2019-04-18 10:48:56 +08:00
Xu Peng
212d393712 refactor(db): mv types.h to Types.h
Former-commit-id: 5a36823d84570784113420afa4fff7d0cd1ef1d2
2019-04-18 10:48:56 +08:00
groot
fe20a302ba refine log code
Former-commit-id: fefbec403f92cf851f3810d3bc78109fb89bb768
2019-04-18 10:48:56 +08:00
Xu Peng
bdd137e1b2 feat(db): merge file changes
Former-commit-id: 38e1bf124e5cd4bbf2a838494c7962e928f05a17
2019-04-18 10:48:56 +08:00
groot
e4666f04f0 response signal 2
Former-commit-id: 8d3a36a2d332d05d48f9ecae990b70c35aee0072
2019-04-18 10:48:56 +08:00
groot
8b689e8e2a client sucessfully connect to server
Former-commit-id: 1e9186c606ae9ca46f9b2f57ccaeeb50b4cc6c3a
2019-04-18 10:48:56 +08:00
Xu Peng
1b9aeb89b2 feat(db): add merge files
Former-commit-id: 715b6eeae4b1c45ef5e8536536ab9b0faf720e42
2019-04-18 10:48:56 +08:00
groot
a0dedf1794 remove thrift unused files
Former-commit-id: a2f2809386ec2c2a4f69d7f46f3467054b008613
2019-04-18 10:48:56 +08:00
groot
719c232528 modify test client
Former-commit-id: d9bd14f32c078b87bdb58e46efe6e45912a5baef
2019-04-18 10:48:56 +08:00
groot
e09d360c40 build debug thrift
Former-commit-id: 96f032cc946158b7fc3146e17281d0012cacc051
2019-04-18 10:48:56 +08:00
groot
836bfb5c07 build debug thrift
Former-commit-id: 252bae2826946ae61a1a2ada570844b413f3df02
2019-04-18 10:48:56 +08:00
Xu Peng
fbb817a412 feat(db): add some meta data logic and update db bg merge jobs
Former-commit-id: 36bc3fbacf36450b863d69bd83a8ba3b9daffedb
2019-04-18 10:48:56 +08:00