Skip to content

Commit

Permalink
use ela-lib v1.0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
CharellKing committed Sep 25, 2024
1 parent 38129ce commit 57f5e3b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,14 @@ tasks: # tasks which is executed orderly.
-
source_index: "sample_hello"
target_index: "sample_hello"

slice_size: 5 # search with slice number which is the parallelism size, default is 20.
scroll_size: 5000 # scroll size which is used to scroll data from source index, default is 10000.
buffer_count: 3000 # buffer count which is used to buffer data to sync, default is 100000.
compare_parallelism: 5 # compare parallelism which is used to compare data in parallel index pairs, default is 20.
scroll_time: 10 # scroll time which is used to scroll data from source index, default is 10 minutes.
parallelism: 12 # parallelism which is used to sync data in parallel index pairs, default is 12.
action: compare
force: true

- name: task3
source_es: es5
Expand All @@ -84,6 +90,5 @@ tasks: # tasks which is executed orderly.
source_index: "sample_hello"
target_index: "sample_hello"
action: sync_diff
force: true
```
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/CharellKing/ela
go 1.23.0

require (
github.com/CharellKing/ela-lib v1.0.19
github.com/CharellKing/ela-lib v1.0.21
github.com/spf13/viper v1.19.0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/CharellKing/ela-lib v1.0.19 h1:YnYxyRO8fMiAQGnqjOiVC92NfCMN1BtGPDOJsy7GkiU=
github.com/CharellKing/ela-lib v1.0.19/go.mod h1:f0LBjns3zok0ejHTgmMncP5fAKH61sPSwEGegVcW9NI=
github.com/CharellKing/ela-lib v1.0.21 h1:uEodd8k/Oc8WBoz9DcoEo8BDvTg2IOcpgGiflJrzJTA=
github.com/CharellKing/ela-lib v1.0.21/go.mod h1:f0LBjns3zok0ejHTgmMncP5fAKH61sPSwEGegVcW9NI=
github.com/alitto/pond v1.9.1 h1:OfCpIrMyrWJpn34f647DcFmUxjK8+7Nu3eoVN/WTP+o=
github.com/alitto/pond v1.9.1/go.mod h1:xQn3P/sHTYcU/1BR3i86IGIrilcrGC2LiS+E2+CJWsI=
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY=
Expand Down

0 comments on commit 57f5e3b

Please sign in to comment.