199 Commits

Author SHA1 Message Date
groot
326945efa7 use switch case
Former-commit-id: 39b674d81433171cc62f30b75064c1f4daa844f9
2019-06-05 12:33:22 +08:00
groot
ab3c9649c6 search context id
Former-commit-id: 7e8bafac6b78d879edb8a09cd2ffb83c46d44401
2019-06-05 12:29:31 +08:00
groot
db1b37d45c fix problems
Former-commit-id: c90a6834c4848fbaed1a1b0c753979f307db4d27
2019-06-05 12:14:53 +08:00
groot
22b5b6cbf1 pipeline for loading/searching
Former-commit-id: 93cd16549fcd392de487237df21e2df14ef8321a
2019-06-04 19:32:43 +08:00
yu yunfeng
8367c9aaa7 add vps qeury_summary metircs
Former-commit-id: ec3f9e3dd9338332d2e40dbae8b5d4b672b1cef1
2019-05-31 18:26:44 +08:00
yu yunfeng
2ab5e246ac add metrics
Former-commit-id: d7acd398be8aeee11de3f972d9bcf6e84df39358
2019-05-31 14:36:36 +08:00
yu yunfeng
439a5d10e9 add IO gauge
Former-commit-id: f23a858abade383d61780caf146f5dbbf578a113
2019-05-29 19:15:32 +08:00
yu yunfeng
4116f710f5 merge branch from Xu and add metrics
Former-commit-id: a5d3e97dbd87c6478ece637046a2d9545fbc973f
2019-05-28 18:46:07 +08:00
yu yunfeng
a95b29aa27 add metrics without prometheus
Former-commit-id: e158ea586681abb5ec44bdc9025ec27e3aa21567
2019-05-28 15:06:17 +08:00
Xu Peng
120a52c184 refactor(db): replace typedef with using
Former-commit-id: 62caeac6fb8a05cabe0622abe73d7b5b548f8472
2019-05-28 14:01:54 +08:00
Xu Peng
9b5791b434 refactor(db): small change
Former-commit-id: 057c7a7b4b9189895d7aac3e253387fe91daee0e
2019-05-28 13:59:16 +08:00
Xu Peng
c5501202ad refactor(db): whole db api refactor
Former-commit-id: 3519e8a464bcd66b6da8ef2c579c08eaf13d17bd
2019-05-28 13:49:59 +08:00
Xu Peng
c8bcf53d81 refactor(db): refactor for db impl
Former-commit-id: f7488d5189ed1c34d9b3e8e3da4eaa71766f9c11
2019-05-28 11:04:37 +08:00
Xu Peng
541692c227 refactor(db): include file seq and cpp->inl
Former-commit-id: 970bb6ef009b1806a4f60f6d1f5d62e0aeb1ca5e
2019-05-28 11:04:37 +08:00
Xu Peng
73ffe9f796 refactor(db): include files seq
Former-commit-id: 1236730a49eb3ab3611e001aee95a6a28173f4ca
2019-05-28 11:04:37 +08:00
Xu Peng
ce329b4304 refactor(db): Env.cpp Env.h
Former-commit-id: 5d774124457d4136dc8c0e4469ac6950c424de09
2019-05-28 11:04:37 +08:00
Xu Peng
fbeddc2ad5 refactor(db): refactor for execution engine
Former-commit-id: 5bf686bae2669ecfe6c4ba722a001c6303bb2f43
2019-05-28 11:04:37 +08:00
Xu Peng
2eff64def1 refactor(db): refactor for DBMetaImpl
Former-commit-id: 9ced33145335090265c53344b4ff46a977eec356
2019-05-28 11:04:37 +08:00
Xu Peng
ca33fbbe14 refactor(db): DropAll -Count CleanUp CleanUpFilesWithTTL
Former-commit-id: b718bb89945651de19a1263eaf64eab22d11eb6c
2019-05-28 11:04:37 +08:00
Xu Peng
874eeb8f7a refactor(db): FilesToIndex
Former-commit-id: fe5bd8ca372d0a4d5bf257f3f10853179d2356ce
2019-05-28 11:04:37 +08:00
Xu Peng
7fe5346f14 refactor(db): Archive
Former-commit-id: 21f153c1a57ad4bb706f6b177a10d45faf88ed99
2019-05-28 11:04:37 +08:00
Xu Peng
de8811ae9a refactor(db): Size
Former-commit-id: 9dc93505e1378a1e8b14750158c2f8b9b2f840ca
2019-05-28 11:04:37 +08:00
Xu Peng
2789234931 refactor(db): FilesToMerge
Former-commit-id: 9101dcd75943bc241094af92156805090bf8e408
2019-05-28 11:04:37 +08:00
Xu Peng
09fdd0f849 refactor(db): FilesToSearch
Former-commit-id: dcb7f972ee13a0916129dfec5b05dad66025dfbf
2019-05-28 11:04:37 +08:00
Xu Peng
edf33115e4 refactor(db): UpdateTableFiles
Former-commit-id: 749cfe1d229a7f2edadd3cd913b96e0087be9cc5
2019-05-28 11:04:37 +08:00
Xu Peng
ec4e83db3f refactor(db): UpdateTableFile
Former-commit-id: e5b29fa1396d5a06c26a4917e15fed0082bbc7ae
2019-05-28 11:04:37 +08:00
Xu Peng
3852b830b0 refactor(db): delete get_group_files
Former-commit-id: 0503a8a92ab9687912c516390af1c8fe0e4cd96a
2019-05-28 11:04:37 +08:00
Xu Peng
ba8929e9a4 refactor(db): GetTableFile
Former-commit-id: 9b5f8d3a6c3202acc5b16f9b75f4ebe9cb2c6c50
2019-05-28 11:04:37 +08:00
Xu Peng
59fa814af4 refactor(db): delete has_group_file
Former-commit-id: 821b2784c727d30375b7ce5c2bf3e9e9aef16fd8
2019-05-28 11:04:37 +08:00
Xu Peng
fbe1278a3a refactor(db): DropPartitionsByDates
Former-commit-id: 2534fa34f690ba60788e3619b6a87a9a7ed8650e
2019-05-28 11:04:37 +08:00
Xu Peng
01e4e605e2 refactor(db): CreateTableFile
Former-commit-id: c29b8ccc97cc327ec9c278f2ea5456369365c4f3
2019-05-28 11:04:37 +08:00
Xu Peng
9d4591612d refactor(db): delete local meta impl and refactor HasTable
Former-commit-id: 4849b994d40cf433797892eb37ceeac46fc65d3d
2019-05-28 11:04:37 +08:00
Xu Peng
624e34f10d refactor(db): refactor DescribeTable
Former-commit-id: 021d731f3be6f338423caabef59bdd4c46ed02d8
2019-05-28 11:04:37 +08:00
Xu Peng
3d330e0aa4 refactor(db): change group_info to table_schema and add_group to CreateTable
Former-commit-id: e8d48ec8e54429bf5d1080997ca329b42ddcab82
2019-05-28 11:04:37 +08:00
Xu Peng
f2bb20c90d refactor(db): change group_id to table_id
Former-commit-id: bf0cec2552fcad95bf1b77cdfbdd423984e6f18f
2019-05-28 11:04:37 +08:00
Xu Peng
209d0e4806 refactor(db): change groupfilesschema to table*
Former-commit-id: e786234155eecb9d22ad2b6a8b2c9357675e5de4
2019-05-28 11:03:45 +08:00
Xu Peng
e94499cdff refactor(db): change groupschema and groupfileschema to table*
Former-commit-id: fbc69151149faa8ed32547bcdd1a9935dac34070
2019-05-28 11:03:45 +08:00
Xu Peng
aa60c62870 refactor(db): remove dummy struct
Former-commit-id: a90c3f127fb84a879956a8383af9def829504208
2019-05-28 11:00:10 +08:00
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
ff3a89b997 feat(db): archive after every serliazation
Former-commit-id: bf5191dc707e7336d64534110aa49a2d36da1a1e
2019-05-26 16:50:56 +08:00
Xu Peng
3958fe5a35 refactor(db): add NextFileId
Former-commit-id: 51a1f75881a8a1f85e3fdc8ac7217218976cc11c
2019-05-26 15:17:46 +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