torodb / stampede

The ToroDB solution to provide better analytics on top of MongoDB and make it easier to migrate from MongoDB to SQL
https://www.torodb.com/stampede/
GNU Affero General Public License v3.0
1.77k stars 120 forks source link

Enchants to on single shard replication #161

Closed gortiz closed 7 years ago

gortiz commented 7 years ago

Now when Stampede is replicating from a single shard, it uses the non sharding mode mode, which means that database names, loggers, metrics, etc will be the same as when we didn't support sharding.

codecov-io commented 7 years ago

Codecov Report

Merging #161 into sharding will increase coverage by <.01%. The diff coverage is 18.51%.

@@              Coverage Diff               @@
##             sharding     #161      +/-   ##
==============================================
+ Coverage       18.33%   18.33%   +<.01%     
- Complexity       1511     1513       +2     
==============================================
  Files             780      780              
  Lines           26803    26823      +20     
  Branches         2337     2340       +3     
==============================================
+ Hits             4913     4917       +4     
- Misses          21556    21572      +16     
  Partials          334      334
Impacted Files Coverage Δ Complexity Δ
...ain/java/com/torodb/backend/BackendConfigImpl.java 0% <0%> (ø) 0 <0> (ø) :x:
...torodb/backend/postgresql/PostgreSqlDbBackend.java 0% <0%> (ø) 0 <0> (ø) :x:
...om/torodb/packaging/config/util/BundleFactory.java 0% <0%> (ø) 0 <0> (ø) :x:
...onfig/model/backend/postgres/AbstractPostgres.java 0% <0%> (ø) 0 <0> (ø) :x:
...main/java/com/torodb/stampede/StampedeService.java 8.69% <0%> (-0.3%) 1 <0> (ø)
...a/com/torodb/backend/AbstractDbBackendService.java 0% <0%> (ø) 0 <0> (ø) :x:
.../java/com/torodb/mongodb/repl/ReplCoordinator.java 9.52% <0%> (ø) 1 <0> (ø) :x:
...a/com/torodb/backend/BackendConfigImplBuilder.java 0% <0%> (ø) 0 <0> (ø) :x:
...n/src/main/java/com/torodb/stampede/CliConfig.java 6.47% <0%> (-0.15%) 5 <0> (ø)
...dalone/config/model/backend/postgres/Postgres.java 100% <100%> (ø) 10 <1> (+1) :white_check_mark:
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 27688d8...f73c6a2. Read the comment docs.