Skip to content

Commit

Permalink
fix (apache#16322)
Browse files Browse the repository at this point in the history
Co-authored-by: wudi <>
  • Loading branch information
JNSimba authored Feb 9, 2023
1 parent 130b359 commit 77b7b84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,6 @@ The number of rows in the original file = `dpp.abnorm.ALL + dpp.norm.ALL`
Stream load import can enable two-stage transaction commit mode: in the stream load process, the data is written and the information is returned to the user. At this time, the data is invisible and the transaction status is `PRECOMMITTED`. After the user manually triggers the commit operation, the data is visible.
The default two-phase bulk transaction commit is off.
> **Open method:** Configure `disable_stream_load_2pc=false` in be.conf and declare `two_phase_commit=true` in HEADER.
Example:
1. Initiate a stream load pre-commit operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,6 @@ Stream Load 由于使用的是 HTTP 协议,所以所有导入任务有关的

Stream load 导入可以开启两阶段事务提交模式:在Stream load过程中,数据写入完成即会返回信息给用户,此时数据不可见,事务状态为`PRECOMMITTED`,用户手动触发commit操作之后,数据才可见。

默认的两阶段批量事务提交为关闭。

> **开启方式:** 在be.conf中配置`disable_stream_load_2pc=false` 并且 在 HEADER 中声明 `two_phase_commit=true`
示例:

1. 发起stream load预提交操作
Expand Down

0 comments on commit 77b7b84

Please sign in to comment.