rudder-server icon indicating copy to clipboard operation
rudder-server copied to clipboard

fix(core): cache backend config and block processor

Open Sidddddarth opened this issue 3 years ago • 2 comments

Description

  1. A new routine that subscribes to config, and stores it to database(after encrypting).
  2. An endless loop in proc-transformer if it encounters a particular response from the transformer.
  3. Return to normal operation once control plane is back up.

Notion Ticket

Pause Processor

Security

  • [x] The code changed/added as part of this pull request won't create any security issues with how the software is being used.

Sidddddarth avatar Aug 01 '22 09:08 Sidddddarth

pertinent transformer PR

Sidddddarth avatar Sep 13 '22 08:09 Sidddddarth

Codecov Report

Base: 45.12% // Head: 45.33% // Increases project coverage by +0.20% :tada:

Coverage data is based on head (569f9cd) compared to base (1392de1). Patch coverage: 49.39% of modified lines in pull request are covered.

:exclamation: Current head 569f9cd differs from pull request most recent head 82465d0. Consider uploading reports for the commit 82465d0 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2225      +/-   ##
==========================================
+ Coverage   45.12%   45.33%   +0.20%     
==========================================
  Files         175      175              
  Lines       36356    36369      +13     
==========================================
+ Hits        16407    16489      +82     
+ Misses      18868    18803      -65     
+ Partials     1081     1077       -4     
Impacted Files Coverage Δ
config/backend-config/admin.go 0.00% <0.00%> (ø)
config/backend-config/noop.go 0.00% <0.00%> (ø)
enterprise/reporting/reporting.go 8.33% <0.00%> (-1.44%) :arrow_down:
enterprise/suppress-user/setup.go 0.00% <0.00%> (ø)
gateway/admin.go 0.00% <0.00%> (ø)
router/admin.go 2.82% <0.00%> (ø)
...stomdestinationmanager/customdestinationmanager.go 51.27% <0.00%> (-0.22%) :arrow_down:
router/failed-events-manager.go 0.00% <0.00%> (ø)
services/filemanager/filemanager.go 54.54% <0.00%> (ø)
utils/misc/dbutils.go 0.00% <0.00%> (ø)
... and 39 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Sep 13 '22 10:09 codecov[bot]