Commit Graph

25 Commits

Author SHA1 Message Date
Kassian Sun c73c44724d [migration] index_migration & pipeline define struct 2023-04-14 11:30:16 +08:00
Kassian Sun db6d33f22b [migration] always try to clean disk queues 2023-04-12 10:05:51 +08:00
sunjiacheng dc606e457d [migration] fix bulk_indexing counting logic (#60)
[migration] fix bulk_indexing counting logic

Co-authored-by: Kassian Sun <kassiansun@outlook.com>
2023-04-11 15:58:24 +08:00
Kassian Sun 4b12d372f1 [migration] task log copy task labels 2023-04-11 08:30:59 +08:00
liugq 4eb742d47e format log message of migration task 2023-04-10 18:21:27 +08:00
liugq b5218b8516 add compress settings of migration 2023-04-10 14:17:18 +08:00
liugq db1c7322f1 update migration notifaction link url 2023-04-06 12:04:07 +08:00
Kassian Sun b16ff4e888 [migration] track user actions in task logging 2023-04-04 16:18:13 +08:00
Kassian Sun 87d28c9cfc [migration] fix pending_stop checking logic 2023-04-04 16:02:31 +08:00
silenceqi bae99585c1 Merge pull request '[notification] update enum & list API' (#52) from feature/notification into master 2023-04-04 10:24:42 +08:00
Kassian Sun c3a1d418d5 [notification] update enum & list API 2023-04-04 10:18:45 +08:00
Kassian Sun d5d46de854 [migration] improve pending_stop & es error handling 2023-04-03 20:25:45 +08:00
Kassian Sun b31bb6c090 [migration] update logging logic 2023-04-03 20:25:07 +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
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
Kassian Sun 6de2e14235 [plugin][migration] add error loggings 2023-03-30 17:18:24 +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 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
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
liugq c22bf646f3 fixed compile error of migration code 2023-02-08 10:51:12 +08:00
liugq fa9ae1c465 code optimize after code review 2023-02-06 16:51:30 +08:00
medcl 02adb4d121 refactoring pipelines 2023-01-27 12:09:09 +08:00