Commit Graph

1438 Commits

Author SHA1 Message Date
liugq abe7acf177 add privilege control of migration 2023-04-03 11:57:06 +08:00
silenceqi 6c32fb3a3d Merge pull request '[migration] check status before start/stop task' (#49) from feature/migration into master 2023-04-03 10:11:15 +08:00
Kassian Sun b29dc9ca0f [migration] check status before start/stop task 2023-04-03 10:04:16 +08:00
liaosy 7106aaeeda Merge pull request '[notification] update API endpoint' (#48) from feature/notifications into master
LGTM
2023-04-02 15:29:27 +08:00
Kassian Sun f9f60b23e7 [notification] update API endpoint 2023-04-02 15:27:51 +08:00
sunjiacheng 8fddcdaf09 [notification] add /notification/read, add message_type (#47)
[notification] add /notification/read, add message_type

Co-authored-by: Kassian Sun <kassiansun@outlook.com>
2023-04-02 15:02:30 +08:00
sunjiacheng 55ac534b02 [api] add list notification api (#35)
[api] add list notification api

Co-authored-by: Kassian Sun <kassiansun@outlook.com>
Co-authored-by: liugq <silenceqi@hotmail.com>
Co-authored-by: medcl <m@medcl.net>
Co-authored-by: silenceqi <silenceqi@infini.ltd>
2023-04-01 18:52:02 +08:00
liugq 1a645a655a support cardinality agg 2023-04-01 12:25:06 +08:00
liugq 9bd5682122 save cluster distribution in major magration task 2023-04-01 11:35:20 +08:00
liugq 3987c5db37 Merge branch 'master' of ssh://git.infini.ltd:64221/infini/console 2023-03-31 14:26:50 +08:00
liugq f716e2acf5 filter overview cluster 2023-03-31 14:26:11 +08:00
medcl bdbb6a0b95 remove repos from scopes 2023-03-30 20:44:08 +08:00
sunjiacheng e75a566f03 [plugin][migration] add more logs (#46)
[plugin][migration] add more logs

Co-authored-by: Kassian Sun <kassiansun@outlook.com>
2023-03-30 18:24:26 +08:00
silenceqi 060d53d5ca Merge pull request '[plugin][migration] add error loggings, don't failed if task handler failed' (#45) from feature/logging into master 2023-03-30 17:20:18 +08:00
Kassian Sun 6de2e14235 [plugin][migration] add error loggings 2023-03-30 17:18:24 +08:00
medcl 09f93d5190 add jenkinsfile for build linux-amd64 only 2023-03-29 21:17:06 +08:00
silenceqi 082bed8aa4 Merge pull request 'set es_scroll partition_size default value to 1' (#44) from fix_partition_size into master 2023-03-29 18:42:19 +08:00
liugq 6d537bb798 set es_scroll partition_size default value to 1 2023-03-29 18:41:20 +08:00
liugq 4871fbcb12 checking instance is avaiable when there is no pipeline logs 2023-03-29 16:17:19 +08:00
sunjiacheng 0f5626c41d [migration] fix source filter dsl (#43)
[migration] fix source filter dsl

Co-authored-by: Kassian Sun <kassiansun@outlook.com>
2023-03-29 13:03:15 +08:00
sunjiacheng 08a1673c1a [plugin] fix naming (#42)
[plugin] fix naming

Co-authored-by: Kassian Sun <kassiansun@outlook.com>
2023-03-29 13:02:55 +08:00
silenceqi 24ca0c91a5 Merge pull request 'add field type and reserved' (#41) from layout_api1 into master 2023-03-29 11:40:45 +08:00
liugq f187bbe499 add field type and reserved 2023-03-29 11:37:16 +08:00
liugq 305a11ec40 update api url of getting task info with index level 2023-03-29 10:26:05 +08:00
sunjiacheng 633d0333f2 [plugins][migration] status_log -> logging (#40)
[plugins][migration] status_log -> logging

Co-authored-by: Kassian Sun <kassiansun@outlook.com>
2023-03-28 20:12:23 +08:00
medcl df6b4a1737 update config 2023-03-28 19:02:55 +08:00
medcl 05cc6fd9d2 add context to pipeline 2023-03-28 19:01:58 +08:00
sunjiacheng 69cf1d67a9 migration_v2 (#38)
bulk write after docs was scrolled complete

update default config with migration dispatcher

add bulk parameter idle_timeout_in_seconds, slice_size

clear queue before creating pipeline

check instance available when task state is running

add check_instance_available config for migration dispatcher

get migration task progress info by index_name_unique(index_name+doctype)

get instance list only by gateway

get migration task progress info from es and instance pipeline context

rewrite logic of handling running migration major task

calc complete time in api getDataMigrationTaskOfIndex

init

Co-authored-by: liugq <silenceqi@hotmail.com>
2023-03-28 17:54:35 +08:00
sunjiacheng cd56a4ff24 Merge pull request '[plugin][api] visualization/data supports latest statistics' (#36) from feature/top_hits into master 2023-03-28 10:28:25 +08:00
Kassian Sun 845d77508b return null if _source is empty 2023-03-23 09:00:07 +08:00
Kassian Sun 17abd00e20 [plugin][api] visualization/data supports top_hits 2023-03-22 19:04:34 +08:00
silenceqi 2e3593cbf3 Merge pull request 'filter empty group of alerting rule' (#37) from filter_empty_group into master 2023-03-22 10:52:26 +08:00
liugq bc024bcfce filter empty group of alerting rule 2023-03-22 10:46:26 +08:00
silenceqi 157fc43ee8 Merge pull request 'add elastic status overview api' (#34) from status_overview_api into master 2023-03-16 10:56:30 +08:00
liugq 99f03fc574 add elastic status overview api 2023-03-16 10:55:21 +08:00
silenceqi 85e881101d Merge pull request 'add gateway layout' (#33) from setup_conf into master 2023-03-14 17:58:29 +08:00
liugq 0ab537ef43 add gateway layout 2023-03-14 17:57:18 +08:00
silenceqi 6d2f02af9c Merge pull request 'Elasticsearch, easysearch, opensearch compatibility update' (#32) from es_distribution into master 2023-03-11 19:11:06 +08:00
liugq eba379eade test update 2023-03-11 19:09:25 +08:00
liugq f27c7a2951 elasticsearch distribution judgement logic update 2023-03-11 13:30:59 +08:00
liugq c8f7927821 use default distribution with Elasticsarch 2023-03-08 18:01:53 +08:00
liugq 50e8f7fc79 sync cluster distribution to config file while setup 2023-03-08 12:18:08 +08:00
liugq d37da4679e use total value instead of doc_value agg as doc count 2023-03-06 15:00:14 +08:00
liugq 1a1b00d5f8 add initialization template file for es 5.x, 6.x 2023-03-06 11:59:31 +08:00
liugq d57e9cf476 change es cluster version of system cluster support from 7.3 to 5.3 2023-03-06 10:59:52 +08:00
silenceqi b7d6e3bf87 Merge pull request 'add layout management api' (#31) from layout_api into master 2023-03-03 16:36:31 +08:00
liugq 2c8ee843f1 refactoring elastic.GetDateHistogramIntervalField 2023-03-02 20:54:21 +08:00
liugq 5d0e745012 support setup with easysearch and opensearch 2023-03-02 17:28:51 +08:00
liugq 662205c540 add layout api permission 2023-02-28 12:27:26 +08:00
liugq f1c18797b0 add query arg view_id for layout search api 2023-02-27 18:04:07 +08:00