-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
feat: return new operator token during backup overwrite #22629
Conversation
response := make(map[string]string) | ||
response["token"] = operatorToken.Token | ||
|
||
h.api.Respond(w, r, http.StatusOK, response) |
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.
Can you update the OPENAPI_SHA
constant in scripts/fetch-swagger.sh
to be d6f9073685dfb58e36f20c2ed351cf872ad31a86
(current HEAD of openapi master) so the swagger will include the description of this new response?
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.
After I made the change I realized that's one commit back from the latest, but it has the stuff we want.
Was about to approve when I remembered we have an e2e test for backup/restore at Before we merge this or influxdata-influx-cli#297, could we:
|
// The next time Flux updates its Arrow dependency, we will see checkptr test failures, | ||
// if that version does not include PR 8112. In that event, someone (perhaps Mark R again) | ||
// will need to apply the change in 8112 on top of the newer version of Arrow. | ||
replace github.com/apache/arrow/go/arrow v0.0.0-20191024131854-af6fa24be0db => github.com/influxdata/arrow/go/arrow v0.0.0-20200917142114-986e413c1705 |
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.
We don't depend on the af6fa24be0db
anymore, and arrow has merged the noted PR upstream
79b8e44
to
7196e35
Compare
Partial fix for #20749