opensharding / opensharding-spi-impl Goto Github PK
View Code? Open in Web Editor NEWShardingSphere's SPI implementation plugin
License: Apache License 2.0
ShardingSphere's SPI implementation plugin
License: Apache License 2.0
we should add a distribution module to assembly spi jar using profile.
Current annotation ShardingTransactionType
is implemented by spring-aop.
And depend part of hibernate when be used to change transaction type for shardind-proxy.
So it's necessary to refactor this part features to remove these dependence.
currently,we only support revert sql contains primary key generated by shardingsphere or existing in values. we can get database generateKey after physical statement have completed.
Replacing inheritance with combinations
currently, we integrated with saga using graph based engine.
it need us to collect all participated actual SQL, then submit to saga actuator in commit/rollback phase. if application crashed before invoking saga actuator, undo log of branch transaction SQL will not be saved, so recovery thread will not be executed correctly.
it's better that encapsulating every actual SQL as a saga task, then submit to saga actuator realtime instead of batch processing all the SQLs at commit/rollback phase. this architecture will make the boundary more clear between shardingsphre and saga, currently we have done some additional work for integrating saga.
Another compile error like issue #55.
mvn clean install -Dmaven.test.skip -Prelease
mvn clean install -Dmaven.test.skip -U
After check ss git history, it seems that sharding-core-optimize module had renamed to sharding-core-preprocessor on 27 Sep:
BTW , the version of both project is 4.0.0-RC3-SNAPSHOT .
Class 'NativeZookeeperRegistryCenter' must either be declared abstract or implement abstract method 'initLock(String)' in 'RegistryCenter' in 4.0.0-RC2-SNAPSHOT version
好多pom架包下载不下来,毫无头绪。。。。
before commit this issue, I understand there must be some stratagy to check compile or dependecis or something like that by travis . however , I do got confused by some compiled erorr, please give me a hand cherry @cherrylzhao
mvn clean install -Dmaven.test.skip -Prelease
mvn clean install -Dmaven.test.skip -U
for example , SQLRevertExecutorContext.java in spi-impl, one variable
the path for OptimizedStatement is org.apache.shardingsphere.core.optimize.statement.OptimizedStatement
but in ss , the packge path for OptimizedStatement is org.apache.shardingsphere.core.optimize.api.statement
BTW , the version of both project is 4.0.0-RC2-SNAPSHOT .
saga-actuator only provide a central recovery mechanism. recovery thread will be started independent on server side. but this could not work for sharding-sphere, physical datasource only kept on the application side. so we need make every application instance recovery independently. if one instance have crashed, it can be failover to another available instance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.