File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 11# Release History
22
3- ### 0.6.57 (2020-09-09)
3+ ### 0.7.0 (2021-10-17)
4+ ----------------------------
5+ ** Implementations**
6+ - Add resources api
7+ - Update elasticsearch migration to use scroll
8+ - fix version of protobuf as 3.17.3 to keep compatible with Python 2
9+
10+
11+ ### 0.6.57 (2021-09-09)
412----------------------------
513** Implementations**
614- Add executeSQl apis
Original file line number Diff line number Diff line change 1- __version__ = '0.6.58 '
1+ __version__ = '0.7.0 '
22
33import sys
44OS_VERSION = str (sys .platform )
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ MigrationManager 内部使用 [Scroll API](https://www.elastic.co/guide/en/elast
1111| 参数 | 必选 | 说明 | 样例 |
1212| -------- | -------- | -------- | -------- |
1313| cache_path | yes | 用于缓存迁移进度的本地文件位置,实现断点续传。当存在迁移缓存的时候,以下参数中` time_reference ` 更改无效。对新的迁移任务,请确认指定路径为空文件夹,以防迁移任务受干扰。 | /path/to/cache |
14+ | cache_duration | no | 缓存有效时间,基于 elasticsearch scroll 实现。当前一次迁移操作退出时间长度超过该时间段时,缓存失效,不能继续使用于断点续传。默认值是 1d。 | 1d<br >20h |
1415| hosts | yes | elasticsearch 数据源地址列表,多个 host 之间用逗号分隔。 | "127.0.0.1:9200"<br >"localhost:9200,other_host:9200"<br >"user: secret @localhost:9200" |
1516| indexes | no | elasticsearch index 列表,多个 index 之间用逗号分隔,支持通配符(* )。<br >默认抓取目标 es 中所有 index 的数据。 | "index1"<br >"my_index* ,other_index" |
1617| query | no | 用于过滤文档,使用该参数您可以指定需要迁移的文档。<br >默认不会对文档进行过滤。 | '{"query": {"match": {"title": "python"}}}' |
You can’t perform that action at this time.
0 commit comments