Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add sync function for incremental update #84

Merged
merged 8 commits into from
Jan 5, 2024

Conversation

fishjam
Copy link

@fishjam fishjam commented Jan 2, 2024

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
Copy link
Owner

medcl commented Jan 3, 2024

can you add tips to README as well.

@fishjam
Copy link
Author

fishjam commented Jan 4, 2024

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