Skip to content

[7.x] [Ingest Manager] Move cache functions to from registry to archive (#82871)#82970

Merged
jfsiii merged 1 commit intoelastic:7.xfrom
jfsiii:backport/7.x/pr-82871
Nov 9, 2020
Merged

[7.x] [Ingest Manager] Move cache functions to from registry to archive (#82871)#82970
jfsiii merged 1 commit intoelastic:7.xfrom
jfsiii:backport/7.x/pr-82871

Conversation

@jfsiii
Copy link
Copy Markdown
Contributor

@jfsiii jfsiii commented Nov 9, 2020

Backports the following commits to 7.x:

…2871)

## Summary

Moving the memory store functions to `archive/cache.ts` to better express their role. 

They are archive-related functions. The registry is just one possible source of an archive/assets. Also considered moving to `assets`, but can always come back to that.

`deletePackageCache` undoes side-effects from `unpackArchiveToCache` so put them in the same file
@jfsiii jfsiii added the backport This PR is a backport of another PR label Nov 9, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jfsiii jfsiii merged commit 23f3857 into elastic:7.x Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants