ft: ARSN-65 oplog pattern library#1719
Conversation
Codecov Report
@@ Coverage Diff @@
## development/8.1 #1719 +/- ##
===================================================
- Coverage 60.16% 60.08% -0.09%
===================================================
Files 192 193 +1
Lines 12254 12409 +155
===================================================
+ Hits 7373 7456 +83
- Misses 4881 4953 +72
Continue to review full report at Codecov.
|
6bd888a to
5edb748
Compare
5edb748 to
95e70fc
Compare
|
Obviously need to unit test PersistFile, PersistMem and MongoOplogInterface |
028e908 to
e99867c
Compare
tmacro
left a comment
There was a problem hiding this comment.
Found some stray comments but looks good overall
ef81d96 to
144f713
Compare
144f713 to
fc0a643
Compare
fc0a643 to
f2aeccd
Compare
| return cb(errors.NotImplemented); | ||
| } | ||
| const filterName = filter.filterName; | ||
| async.waterfall([ |
There was a problem hiding this comment.
we can use async await now
| const _item = {}; | ||
| _item.bucketName = seqs[i].db; | ||
| _item.key = seqs[i].entries[j].key; | ||
| if (seqs[i].entries[j].type !== undefined && |
There was a problem hiding this comment.
This block is tabbed over quite a bit, could we break this out or maybe use some guard clauses here? I can't even tell what is going on anymore.
8b8122e to
1266746
Compare
Snapshot-scan-oplog pattern with state persistence for applications requiring reading the oplog
1266746 to
108b1b3
Compare
Snapshot-scan-oplog pattern with state persistence for applications
requiring reading the oplog