Commit Graph

764 Commits (e049c7fb8f40916a2988ddd191e778ce93d68213)

Author SHA1 Message Date
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
jinhai 9da40e0eac MS-4 Refactor the code structure
Former-commit-id: 96d0966168b3aaef9b12977ba9c65b0830cb44e4
2019-05-26 14:42:09 +08:00
jinhai 940e0d0593 MS-4 Refactor the code structure
Former-commit-id: 7113831bec73840f4cba826c9b63b69409653aed
2019-05-26 14:39:56 +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 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