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 partition-local stores #1720

Merged
merged 15 commits into from
Jun 30, 2021
Merged

Conversation

lava
Copy link
Member

@lava lava commented Jun 15, 2021

  • Add new functions to erase data from segments
  • Add a method to create an empty chunk
  • Add a new 'plugins::find()' function
  • Add new plugin type 'store_plugin'
  • Add the ability to use partition-local stores

📔 Description

This adds the ability to use separate store backends for each partition in VAST.

A new "partition-local" backend is provided that just provides a simplified version of the current segment store which is restricted to a single segment.

📝 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 story/ch25303/partition-local-store branch from 6fe7aeb to c44846e Compare June 15, 2021 12:06
@dominiklohmann dominiklohmann added blocked Blocked by an (external) issue feature New functionality labels Jun 17, 2021
@lava lava force-pushed the story/ch25303/partition-local-store branch 4 times, most recently from f364407 to 7c92d71 Compare June 21, 2021 10:20
lava added 6 commits June 22, 2021 09:50
This allows to search a plugin by name and type.
This enables VAST to read and interpret partitions that
use custom store backends per partition.

In order to have VAST write partitions with local stores,
the new config option `vast.partition-local-stores` has
to be used.
@lava lava force-pushed the story/ch25303/partition-local-store branch from c3d02d3 to 3bec4f3 Compare June 22, 2021 07:50
Copy link
Member

@tobim tobim left a comment

Choose a reason for hiding this comment

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

A few minor suggestions regarding the parameters for the index.

@lava lava force-pushed the story/ch25303/partition-local-store branch from 818bb0f to aa475e1 Compare June 23, 2021 13:19
@mavam mavam changed the title Implement partition-local stores for VAST Implement partition-local stores Jun 23, 2021
@lava lava force-pushed the story/ch25303/partition-local-store branch from c632193 to 31547ae Compare June 23, 2021 16:30
@dominiklohmann dominiklohmann removed the blocked Blocked by an (external) issue label Jun 24, 2021
Copy link
Member

@tobim tobim 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 still preliminary, I'm slowly going through the local store implementation.

Copy link
Member

@tobim tobim left a comment

Choose a reason for hiding this comment

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

I ran the current version through the full integration test suite and noticed that some of the tests fail that I expected to pass.

For example "Server Zeek conn log" step 1 does not produce any output. I had a brief look at the node log and it seems the evaluator does not produce any ids. I would like to have everything but the disk monitor and vast get in a working state before this gets merged.

Another note: We should also have a chat about explore, specifically whether we'll need to change the type of the store_actor when we get rid of the global id space.

@lava lava force-pushed the story/ch25303/partition-local-store branch from 14d1fc8 to d7ecf51 Compare June 30, 2021 07:41
Copy link
Member

@tobim tobim left a comment

Choose a reason for hiding this comment

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

I tested this locally and will deploy it on the testbed soon.

@lava lava merged commit a0fab02 into master Jun 30, 2021
@lava lava deleted the story/ch25303/partition-local-store branch June 30, 2021 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants