-
Notifications
You must be signed in to change notification settings - Fork 68
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
Prepare stub for Storage Indexer #811
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of non-blocking comments.
main.go
Outdated
indexers = append(indexers, packages.NewFileSystemIndexer(packagesBasePaths...)) | ||
indexers = append(indexers, packages.NewZipFileSystemIndexer(packagesBasePaths...)) | ||
if featureStorageIndexer { | ||
indexers = append(indexers, storage.NewIndexer()) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want both indexers at the same time? I think it'd be ok to use only the storage indexer when the flag is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
Co-authored-by: Jaime Soriano Pastor <jaime.soriano@elastic.co>
Issue: #767
This PR introduces a stub for the future v2 Storage Indexer. It removes the logic responsible for pulling packages from Package Storage v1.
Comment:
I'd rather publish a set of smaller PRs instead of a huge one with the entire implementation.