[
https://issues.apache.org/jira/browse/PHOENIX-6590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447736#comment-17447736
]
Rajeshbabu Chintaguntla edited comment on PHOENIX-6590 at 11/23/21, 2:49 AM:
-----------------------------------------------------------------------------
[~stoty]
bq.How is this feautere different from simply setting the batch size to 1 ?
As discussed we can use phoenix.connection.autoCommit config to control
autocommit to be enabled/disable in phoenix workers instead of changing the
batchsize so am reverting the changes done to enable to auto commit.
bq.The only way I can think of that would get the Spark transactional behaviour
is using Phoenix transactional tables and not using batch commit at all.I don't
know how well Phoenix handles transactions of many thousads of millons of rows,
either via Tephra or Omid)
was (Author: rajeshbabu):
[~stoty]
bq.How is this feautere different from simply setting the batch size to 1 ?
As discussed we can use phoenix.connection.autoCommit config to control
autocommit to be enabled/disable in phoenix workers instead of changing the
batchsize so am reverting the changes done to enable to auto commit.
> Add autocommit option to enable/disable autocommit on phoenix connections
> created in workers
> --------------------------------------------------------------------------------------------
>
> Key: PHOENIX-6590
> URL: https://issues.apache.org/jira/browse/PHOENIX-6590
> Project: Phoenix
> Issue Type: Sub-task
> Components: spark-connector
> Reporter: Rajeshbabu Chintaguntla
> Assignee: Rajeshbabu Chintaguntla
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)