зеркало из https://github.com/github/vitess-gh.git
aa9dfda4d5
This unbreaks our Go build. In commit b467501b2a6e4998b369e3569864906a1261972c they changed their API from one-shot commands to a client.Bucket.Object pattern. Where we previously stored only the "authCtx" in the global instance of the GSC backup plugin, we're now keeping the instance of the GSC Go client. Note that we're supposed to call Close() on the GSC client instance eventually. However, our backup interface doesn't foresee a Close() yet. Therefore, for now, we keep the GSC Go Client instance around once it was actively used. The cost of this "leak" is therefore minimal. NOTE: In their new API I didn't find a way to fill in the project id. We'll need to look into it. NOTE: This code change is untested and may not work at all. However, it's good enough to merge and unbreak our build. |
||
---|---|---|
.. | ||
automation | ||
binlog | ||
callerid | ||
callinfo | ||
client | ||
concurrency | ||
dbconfigs | ||
dbconnpool | ||
discovery | ||
env | ||
estimator | ||
etcdtopo | ||
events | ||
health | ||
hook | ||
janitor | ||
key | ||
logutil | ||
mysqlctl | ||
proto | ||
rpc | ||
schema | ||
schemamanager | ||
servenv | ||
sqlannotation | ||
sqlparser | ||
status | ||
tableacl | ||
tabletmanager | ||
tabletserver | ||
topo | ||
topotools | ||
vtctl | ||
vterrors | ||
vtgate | ||
vttest | ||
worker | ||
wrangler | ||
zktopo |