You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2021/09/01 03:33:55 UTC

[shardingsphere] branch master updated (990a0cb -> 78ac6fc)

This is an automated email from the ASF dual-hosted git repository.

panjuan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.


    from 990a0cb  Issue10968 (#12116)
     add 78ac6fc  Whether cluster need to auto switch could be customized by conf and SPI when scaling task almost finished (#12130)

No new revisions were added by this update.

Summary of changes:
 .../src/main/resources/conf/server.yaml            |  4 +++
 .../governance/yaml/YamlScalingConfiguration.java  |  3 ++
 .../proxy/initializer/BootstrapInitializer.java    |  7 +++++
 .../src/main/resources/conf/server.yaml            |  4 +++
 .../api/ScalingClusterAutoSwitchAlgorithm.java     | 24 ++++++---------
 .../ScalingIdleClusterAutoSwitchAlgorithm.java     | 35 ++++++++++------------
 .../scaling/core/config/ScalingContext.java        | 14 ++++++++-
 .../scaling/core/config/ServerConfiguration.java   |  3 ++
 .../executor/job/FinishedCheckJobExecutor.java     |  7 +++++
 .../scaling/core/util/ScalingTaskUtil.java         | 13 +++++---
 ...ling.core.api.ScalingClusterAutoSwitchAlgorithm |  2 +-
 .../fixture/FixtureClusterAutoSwitchAlgorithm.java | 17 +++++------
 .../scaling/core/job/FinishedCheckJobTest.java     |  6 +++-
 ...ling.core.api.ScalingClusterAutoSwitchAlgorithm |  2 +-
 14 files changed, 89 insertions(+), 52 deletions(-)
 copy shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-api/src/main/java/org/apache/shardingsphere/encrypt/spi/EncryptAlgorithm.java => shardingsphere-scaling/shardingsphere-scaling-core/src/main/java/org/apache/shardingsphere/scaling/core/api/ScalingClusterAutoSwitchAlgorithm.java (66%)
 copy shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/algorithm/shadow/note/SimpleSQLNoteShadowAlgorithm.java => shardingsphere-scaling/shardingsphere-scaling-core/src/main/java/org/apache/shardingsphere/scaling/core/api/impl/ScalingIdleClusterAutoSwitchAlgorithm.java (50%)
 copy examples/example-core/config-utility/src/main/resources/META-INF/services/org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm => shardingsphere-scaling/shardingsphere-scaling-core/src/main/resources/META-INF/services/org.apache.shardingsphere.scaling.core.api.ScalingClusterAutoSwitchAlgorithm (90%)
 copy shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/algorithm/keygen/UUIDKeyGenerateAlgorithm.java => shardingsphere-scaling/shardingsphere-scaling-core/src/test/java/org/apache/shardingsphere/scaling/core/fixture/FixtureClusterAutoSwitchAlgorithm.java (68%)
 copy shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.route.SQLRouter => shardingsphere-scaling/shardingsphere-scaling-core/src/test/resources/META-INF/services/org.apache.shardingsphere.scaling.core.api.ScalingClusterAutoSwitchAlgorithm (92%)