Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement support for transforms that apply to every type and use compaction for aging #2186

Merged
merged 13 commits into from
Apr 8, 2022

Conversation

lava
Copy link
Member

@lava lava commented Apr 4, 2022

Aging used to work only partially; deleting events from the archive but not from the index. It was deprecated and scheduled for removal in VAST 2.0.

With this PR we change the internals of the eraser, so aging now works as a functionality-reduced form of temporal compaction.

Some supporting commits add support for transforms that apply to every type, and a new "invert" option for the "select" transform step.

📝 Checklist

  • All user-facing changes have changelog entries.
  • The changes are reflected on docs.tenzir.com/vast, if necessary.
  • The PR description contains instructions for the reviewer, if necessary.

🎯 Review Instructions

@lava lava force-pushed the topic/aging-with-compaction branch from c711591 to b7a6700 Compare April 4, 2022 12:15
@lava lava added feature New functionality refactoring Restructuring of existing code labels Apr 4, 2022
@lava lava force-pushed the topic/aging-with-compaction branch from b7a6700 to 7f28c57 Compare April 4, 2022 12:19
Copy link
Member

@dominiklohmann dominiklohmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, and thanks especially for turning the eraser into a typed actor.

I think this is almost ready to go. We need to undeprecate aging and also mark it as no longer experimental, and the rest should be covered by the remaining TODO comments and the few comments I left on the PR, which are mostly of stylistic nature.

@lava lava force-pushed the topic/aging-with-compaction branch 2 times, most recently from dc56c08 to 3f5c51c Compare April 6, 2022 09:25
@lava lava marked this pull request as ready for review April 6, 2022 18:29
@dominiklohmann dominiklohmann enabled auto-merge April 7, 2022 16:32
@dominiklohmann dominiklohmann force-pushed the topic/aging-with-compaction branch from 3af0b60 to b8c0692 Compare April 8, 2022 11:35
Copy link
Contributor

@dispanser dispanser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified the last four commits done by @dominiklohmann . We talked about those earlier.

@dominiklohmann dominiklohmann force-pushed the topic/aging-with-compaction branch from dfa9aaf to 57b3e20 Compare April 8, 2022 13:25
@dominiklohmann dominiklohmann merged commit 9a19192 into master Apr 8, 2022
@dominiklohmann dominiklohmann deleted the topic/aging-with-compaction branch April 8, 2022 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality refactoring Restructuring of existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants