You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "FlyingZC (via GitHub)" <gi...@apache.org> on 2023/03/09 06:25:03 UTC
[GitHub] [shardingsphere] FlyingZC opened a new issue, #24519: [New Feature]Support Global Clock feature
FlyingZC opened a new issue, #24519:
URL: https://github.com/apache/shardingsphere/issues/24519
# Background
Hi community.
We want to support the global clock feature in ShardingSphere to ensure consistent reading and writing of distributed transactions.We will provide the global clock implementation based on TSO and HLC in the future.
# Global Clock Rule
Based on the pluggable architecture of ShardingSphere, we can easily add a Global Clock rule.
The main configuration properties of Global Clock RULE are as follows:
type: the type of Global Clock, such as TSO, HLC
provider: the provider type of Global Clock
enabled: since this function is currently an experimental function, users need to manually enable this function
The example configuration is as follows:
```yaml
globalClock:
type: TSO
provider: redis
enabled: true
props:
host: 127.0.0.1
port: 6379
```
# Class Diagram

GlobalClockRule: manage the global clock configuration
GlobalClockProvider: the provider of global clock
TransactionHook: provide hooks during the execution of transactions
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] strongduanmu closed issue #24519: [New Feature]Support Global Clock feature
Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu closed issue #24519: [New Feature]Support Global Clock feature
URL: https://github.com/apache/shardingsphere/issues/24519
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org