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.76k stars 118 forks source link

Changed the way replication ignores collections and databases #156

Closed gortiz closed 7 years ago

gortiz commented 7 years ago

With these changes, it is easier to know where the operation has been filtered and it is easier to add new collections filtered by default (like system collections)

codecov-io commented 7 years ago

Codecov Report

Merging #156 into devel will increase coverage by 0.45%. The diff coverage is 58.65%.

@@             Coverage Diff              @@
##              devel     #156      +/-   ##
============================================
+ Coverage     16.41%   16.86%   +0.45%     
- Complexity     1303     1358      +55     
============================================
  Files           735      750      +15     
  Lines         26447    26492      +45     
  Branches       2329     2329              
============================================
+ Hits           4340     4468     +128     
+ Misses        21806    21714      -92     
- Partials        301      310       +9
Impacted Files Coverage Δ Complexity Δ
...n/java/com/torodb/mongodb/repl/ReplCoreConfig.java 100% <ø> (ø) 6 <ø> (ø) :x:
.../com/torodb/mongodb/repl/guice/ReplCoreModule.java 100% <ø> (ø) 3 <ø> (ø) :x:
...om/torodb/packaging/config/util/BundleFactory.java 0% <ø> (ø) 0 <ø> (ø) :x:
.../mongodb/repl/oplogreplier/FinishedOplogBatch.java 55.55% <ø> (ø) 3 <ø> (ø) :x:
...odb/mongodb/repl/oplogreplier/ReplSyncFetcher.java 0% <ø> (ø) 0 <ø> (ø) :x:
...m/torodb/mongodb/repl/guice/MongoDbReplModule.java 88% <ø> (-0.47%) 2 <ø> (ø)
...epl/oplogreplier/fetcher/FilteredOplogFetcher.java 0% <ø> (ø) 0 <ø> (ø) :x:
...l/oplogreplier/fetcher/ContinuousOplogFetcher.java 50.65% <ø> (ø) 10 <ø> (ø) :x:
...mongodb/repl/oplogreplier/batch/BatchAnalyzer.java 88.23% <ø> (ø) 8 <ø> (ø) :x:
...b/repl/oplogreplier/NotReadyForMoreOplogBatch.java 77.77% <ø> (ø) 5 <ø> (ø) :x:
... and 71 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 badd7b3...0ad672e. Read the comment docs.