Skip to content

add sync function for incremental update - #84

Merged
medcl merged 8 commits into
medcl:masterfrom
fishjam:issue1_add_sync
Jan 5, 2024
Merged

medcl merged 8 commits into
medcl:masterfrom
fishjam:issue1_add_sync

Conversation

@fishjam

@fishjam fishjam commented Jan 2, 2024

Copy link
Copy Markdown

refer #81 or fishjam#1

add go.mod and fix build error(infini.sh/framework, fasthttp, util)
1.add Config: SortField, TruncateOutFile, SkipFields, so can dump es index to local file and compare.
2.add Config function: Sync , so can scroll and compare the source and dest index records, and just index/update/delete the changed records
3.refactor code:
  - add some functions in esapi, ClusterVersion() and DeleteScroll(), add ParseEsApi
  - move bulk.go to migrator.go, and add some functions
  - refactor all http method(GET/Post/DoRequest) to sinle Request method, and support proxy.
  - delete some commented and useless code
@medcl

medcl commented Jan 3, 2024

Copy link
Copy Markdown
Owner

can you add tips to README as well.

@fishjam

fishjam commented Jan 4, 2024

Copy link
Copy Markdown
Author

I update it, please check.

@medcl
medcl merged commit 628122f into medcl:master Jan 5, 2024
@fishjam
fishjam deleted the issue1_add_sync branch November 9, 2024 03:32
@fishjam
fishjam restored the issue1_add_sync branch November 9, 2024 03:32
@fishjam
fishjam deleted the issue1_add_sync branch November 17, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants