76 Commits

Author SHA1 Message Date
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
719c232528 modify test client
Former-commit-id: d9bd14f32c078b87bdb58e46efe6e45912a5baef
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
Xu Peng
076ad6f511 feat(db): add group_id related info for memvertor apis
Former-commit-id: 102f857ae32bedb2dd42ebf951197c59f9e1d772
2019-04-18 10:48:56 +08:00
groot
758337f73e refine code
Former-commit-id: f03943ce54db1fdc11c00fc625dabdcdd0bbf817
2019-04-18 10:48:56 +08:00
groot
2a850821b5 add test client
Former-commit-id: af73a98aad00251fa5432d39e092ee950fe2db2b
2019-04-18 10:48:56 +08:00
xj.lin
a25a7a24a7 add db setting file
Former-commit-id: 184bf9c48a5b659a85a11b09aa694165ee6b7b61
2019-04-18 10:37:06 +08:00
Xu Peng
ee5d02939e feat(db): add search api for db
Former-commit-id: 593c7ef1ea7a37022773cf49d82bd2b16763f173
2019-04-16 11:17:02 +08:00
Xu Peng
fa33addbf7 faker(db): mock some testing data
Former-commit-id: 17e28faece56f38b37c7d5ae00758b7ea5392464
2019-04-16 11:17:02 +08:00
Xu Peng
fd8365a098 fix(db): fix id generator runtime error
Former-commit-id: fc964ebe4af0d31527b9b6ec01558d84199efbff
2019-04-16 11:17:02 +08:00
Xu Peng
803686b8c6 fix(db): fix mem runtime error
Former-commit-id: c12e6e99c8c7de1b62c2d2e7f9fecf3775715326
2019-04-16 11:17:02 +08:00
Xu Peng
8eebbf65b4 fix(db): fix runtime error due to missing return value
Former-commit-id: 592d640810b741d8fbdaf04a248f1938f485b1d7
2019-04-16 11:17:02 +08:00
Xu Peng
ff120dba16 fix(db): fix compile error
Former-commit-id: dbf6519efd3a0bac6f8ef2c617fcc08b879543f4
2019-04-16 11:17:02 +08:00
Xu Peng
424b938c82 fix(db): fix db compile errors
Former-commit-id: 8c013a54ad53efcce47f4f9480164052ecfa9249
2019-04-16 11:17:02 +08:00
Xu Peng
d4dae8127b fix(db): fix meta compile error
Former-commit-id: dde5e3262cc177db2fad98d82ee129718936fa01
2019-04-16 11:17:02 +08:00
Xu Peng
e6b0c5a099 fix(db): fix env compile error
Former-commit-id: 683cb59254dfec9cd6a2d93270cde064a4222779
2019-04-16 11:17:02 +08:00
Xu Peng
28e42d0ee5 fix(db): fix id generator errors
Former-commit-id: 1068933b6c74775bfc1ee8641c41d095babaea0c
2019-04-16 11:17:02 +08:00
Xu Peng
3863f2d3b3 fix(db): fix status compile error
Former-commit-id: 1d896ef1c7970c9c418683560e760762d828be84
2019-04-16 11:17:02 +08:00
Xu Peng
1bc01da85f feat(cpp/db): add timer thread
Former-commit-id: e94c2675e8e4294620c94669fa1d3208af7fcc40
2019-04-16 11:17:02 +08:00
Xu Peng
3e8213ff47 feat(cpp/db): update for memory and meta operations
Former-commit-id: 34cc6ca2c596870ad8152ab0da4d187fb518093a
2019-04-16 11:17:02 +08:00
Xu Peng
c6f36c8fba refactor(cpp/db): remove dummy apis
Former-commit-id: 900f085c733a2131c6db9de8940403635898e955
2019-04-16 11:17:02 +08:00
Xu Peng
e1a5d5effa feat(cpp/db): add meta related method in db api
Former-commit-id: d9cab929294aeb154e245e8cdc96b6c3a460af91
2019-04-16 11:17:02 +08:00
Xu Peng
771155df1a feat(cpp/db): meta schema update
Former-commit-id: de373b37b4132f5f62818216728fa29564a43927
2019-04-16 11:17:02 +08:00
Xu Peng
1fc48aaa8b refactor(cpp/db): unified namespace
Former-commit-id: 9544c6ed95bcba1f8feb7e7f1d7a7b07ccd40872
2019-04-16 11:17:02 +08:00
Xu Peng
90f95f3bd6 refactor(cpp/db): move files from storage to db
Former-commit-id: 2f397b13a75cdee3fdf956f64a69cfc9e4966391
2019-04-16 11:17:02 +08:00
Xu Peng
e4b9a62edf feat(cpp/db): add background handling
Former-commit-id: c10f382912f3cfbeb45cedc0e17d355f9e2b0bc6
2019-04-16 11:17:02 +08:00
Xu Peng
0352db4023 feat(db/env): add threading related schedule
Former-commit-id: d685ead572b229a60aad1342ec821d0b37d58c70
2019-04-16 11:17:02 +08:00
Xu Peng
34d50b5a55 refactor(cpp/db): arguments name refactor
Former-commit-id: 9ff72aa338aa58c3f142d2cbfe27d173a3ec5864
2019-04-16 11:17:02 +08:00