-
Notifications
You must be signed in to change notification settings - Fork 371
Support MSB storage #8954
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
base: master
Are you sure you want to change the base?
Support MSB storage #8954
Conversation
95f93ab
to
a36cbe9
Compare
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.
LGTM!
storageConfig = storageConfigList.stream() | ||
.filter(sc -> Objects.equals(sc.getBlockstoreId(), storageID)) | ||
.findFirst() | ||
.orElseThrow(() -> new IOException("Failed to get lakeFS blockstore type")); |
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.
.orElseThrow(() -> new IOException("Failed to get lakeFS blockstore type")); | |
.orElseThrow(() -> new IOException("Failed to get lakeFS blockstore configuration")); |
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.
Cool, thanks! Only minor changes requested.
@@ -287,7 +287,7 @@ To export to S3: | |||
<dependency> | |||
<groupId>io.lakefs</groupId> | |||
<artifactId>sdk</artifactId> | |||
<version>1.18.0</version> | |||
<version>1.53.1</version> |
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.
Non blocking. As always, I prefer big version bumps to occur in separate PRs. Otherwise if things break, it is harder to tell if the breakage was due to the version bump or due to the change in functionality.
.execute(); | ||
String storageID = repository.getStorageId(); | ||
Config cfg = lfsClient.getConfigApi().getConfig().execute(); | ||
StorageConfig storageConfig = new StorageConfig(); |
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.
I don't understand - why create a blank StorageConfig? If there is a bug and nothing is found, do you really want a blank StorageConfig???
StorageConfig storageConfig = new StorageConfig(); | |
StorageConfig storageConfig; |
Closes treeverse/lakeFS-enterprise#48
Change Description
This change provides the lakeFSFS to support storage config list case
This change:
How was this tested
This was tested by running the sonnets test locally with the following information: