DataflowTemplates icon indicating copy to clipboard operation
DataflowTemplates copied to clipboard

fix: deprecating inputFilePattern

Open asthamohta opened this issue 2 years ago • 1 comments

asthamohta avatar Jun 19 '24 08:06 asthamohta

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 49.43%. Comparing base (fc4ca2b) to head (94c3451).

Files Patch % Lines
...oud/teleport/v2/templates/DataStreamToSpanner.java 0.00% 1 Missing :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1674      +/-   ##
============================================
+ Coverage     42.87%   49.43%   +6.55%     
+ Complexity     3399     1226    -2173     
============================================
  Files           815      351     -464     
  Lines         47718    19256   -28462     
  Branches       5111     1941    -3170     
============================================
- Hits          20460     9519   -10941     
+ Misses        25599     9083   -16516     
+ Partials       1659      654    -1005     
Components Coverage Δ
spanner-templates 62.84% <0.00%> (-0.54%) :arrow_down:
spanner-import-export ∅ <ø> (∅)
spanner-live-forward-migration 75.20% <0.00%> (+0.06%) :arrow_up:
spanner-live-reverse-replication 69.82% <ø> (ø)
spanner-bulk-migration 83.69% <ø> (ø)
Files Coverage Δ
...oud/teleport/v2/templates/DataStreamToSpanner.java 5.95% <0.00%> (+0.10%) :arrow_up:

... and 480 files with indirect coverage changes

codecov[bot] avatar Jun 19 '24 08:06 codecov[bot]

I think we discussed that there was another flag that had to be removed?

manitgupta avatar Jul 10 '24 10:07 manitgupta

Yes removed, I hadn't pushed that commit. You can take a look now

asthamohta avatar Jul 10 '24 14:07 asthamohta

This conflicts with the bulk templates retry flow. The current strategy is to have a common DLQ retry for bulk and live by running live in retryMode. That won't have pub/sub enabled as it will be run after the bulk completes.

Also, it kind of prohibits any kind of severe retry as a post migration step. If we are expecting the user to publish all the severe objects into a pub/sub, that will be a lot of additional friction for the customer. I don't see any harm in allowing Polling for such use cases (though polling won't be the recommended approach for the actual migration flow)

cc: @bharadwaj-aditya

VardhanThigle avatar Sep 02 '24 06:09 VardhanThigle