-
Notifications
You must be signed in to change notification settings - Fork 134
Implement support for hostpath solr data volumes. #265
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 hostpath solr data volumes. #265
Conversation
|
@HoustonPutman I'm not sure what this error means, any ideas? |
That is saying that you have two extra lines in your go.mod. Try running |
|
They don't go away. Should I just remove the changes to go.mod? |
|
That's a good idea. I pulled your PR and ran |
|
Interestingly I removed both and re-ran make mod-tidy, and the |
65f10b7 to
7a9a717
Compare
|
I don't use go regularly, so I shouldn't have any weird config. I did recently update to the latest version, so I wonder if that's caused a change in behaviour for me? 🤷 |
HoustonPutman
left a comment
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.
This looks very good. One small issue with an empty ephemeral storage options. Not sure if it could actually happen, depending on how go parses the yaml/json, but still good to protect against anyways.
Also would you mind adding this option to the "Data Storage" section in docs/solr-cloud/solr-cloud-crd.md?
7a9a717 to
c78b2b8
Compare
| err = testClient.Create(context.TODO(), instance) | ||
| g.Expect(err).NotTo(gomega.HaveOccurred()) | ||
| defer testClient.Delete(context.TODO(), instance) | ||
| g.Eventually(requests, timeout).Should(gomega.Receive(gomega.Equal(expectedCloudRequest))) |
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.
You might want to copy this line twice. So two or three of the same line in a row. I think the tests will be flakey otherwise. This will help the failure that you see in the github actions.
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.
(Also no need to force push each time, I'll squash-merge in the end.)
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.
Ok thanks, I've been on repos before where they like to have everything in a single commit :)
c78b2b8 to
4a50381
Compare
HoustonPutman
left a comment
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.
The looks good to me!
One final request:
Would you mind adding this option to the "Data Storage" section in docs/solr-cloud/solr-cloud-crd.md?
Done! Sorry I missed that yesterday. |
HoustonPutman
left a comment
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.
Looks good! Thanks for the great contribution!
This PR adds a new option for ephemeral data storage. Instead of the emptyDir you can use a
hostPathvolume. The default behaviour for ephemeral storage is still emptyDir, but specifyingHostPathwill mean hostPath will be used instead of emptyDir.Addresses #266