forked from pixie-io/pixie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Failed retentionScript creation should properly clean up underlying c…
…ronscripts Summary: We had an issue where if a retentionscript failed to create, the underlying cronscript wouldn't be properly cleaned up. This leads to "zombie" running cronscripts that can not be deleted by the user. Although most of the plugin service is written to use transactions, the cronscript lives in a separate service. This means that we have to do some manual cleanup to ensure consistency. Test Plan: New unit test Reviewers: philkuz, vihang, nserrino Reviewed By: philkuz Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D12533 GitOrigin-RevId: 6d18a389ef019a61cccd8f5b247980e719947c5f
- Loading branch information
1 parent
a1dcad3
commit 0cf001b
Showing
2 changed files
with
77 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters