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

Changes on OplogApplier to correctly react when operations with complex _id are recived #147

Closed gortiz closed 7 years ago

gortiz commented 7 years ago

ToroDB does only support queries where the operator is the equality and the value is a scalar, so oplog operations that filter by a complex _id cannot be executed when recived by the oplog channel.

The OplogApplier test API has been changed to be able to optionally indicate the expected exception when a test is executed

codecov-io commented 7 years ago

Current coverage is 18.25% (diff: 80.00%)

Merging #147 into devel will increase coverage by 0.06%

@@              devel       #147   diff @@
==========================================
  Files           735        736     +1   
  Lines         26373      26398    +25   
  Methods           0          0          
  Messages          0          0          
  Branches       2802       2805     +3   
==========================================
+ Hits           4798       4819    +21   
- Misses        21273      21276     +3   
- Partials        302        303     +1   

Powered by Codecov. Last update 69f2b52...f780a91