shardingsphere icon indicating copy to clipboard operation
shardingsphere copied to clipboard

The detailed description of the transaction manager is missing in user manual

Open Qianyi951015 opened this issue 3 years ago • 5 comments

description

In the description of the RAL Global rule "Alter transaction rule"(https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/distsql/syntax/ral/#global-rule) shows that support Atomikos, Narayana and Bitronix. But actually, to use the Narayana or Bitronix, you need to load class of Narayana or Bitronix from SPI by yourself. This is not stated in the documentation. This is not stated in the documentation, and it is also not stated how to manually load these transaction managers.

screenshot of documentation

191663739661_ pic

201663739700_ pic

screenshot of execute statements

211663739882_ pic

Qianyi951015 avatar Sep 21 '22 06:09 Qianyi951015

You can see how to configure transaction provider in these docs.

  • https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-jdbc/yaml-config/rules/transaction/
  • https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-jdbc/special-api/transaction/bitronix/
  • https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-jdbc/special-api/transaction/narayana/

FlyingZC avatar Sep 22 '22 02:09 FlyingZC

Are you interested in trying to supplement this document.

FlyingZC avatar Sep 22 '22 02:09 FlyingZC

Sure

Qianyi951015 avatar Sep 22 '22 03:09 Qianyi951015

@FlyingZC The document you provide are actually for JDBC, is that same for proxy?

Qianyi951015 avatar Sep 22 '22 03:09 Qianyi951015

@FlyingZC The document you provide are actually for JDBC, is that same for proxy?

Yes.

FlyingZC avatar Sep 22 '22 04:09 FlyingZC