Repository navigation
Lazy initialize external storages - #11694
Conversation
|
Code looks good 👍 |
|
Rebase please. |
Fixed the following external storages to not connect in the constructor, but do it on-demand when getConnection() is called. - S3 - SWIFT - SFTP
fa65511 to
075e8d8
Compare
|
Rebased |
|
The inspection completed: 9 new issues, 8 updated code elements |
|
🚀 Test PASSed. 🚀 |
|
👍 🎫 |
Lazy initialize external storages
|
@karlitschek backport to stable7 ? It only affects SFTP, SWIFT and S3 and is a prerequisite for #10820 |
|
yes. please backport |
|
I'm on it. There are some conflicts. |
|
Backported to stable7 as 09d80ac |
|
💣 💣💣 completely breaks s3 💣 💣 💣 have not had a look at swift or SFTP please be more thorough when testing files external stuff ... |
|
Filed #11714 to track this properly. Apologize for missing that on the review, shouldn't have happened and will try hard to prevent such failures in the future. - Seems like I should setup a S3 account... Thanks a lot for catching that and sorry again. - I'm just annoyed about this error as you are. |
|
I didn't test S3. The US buckets are way too slow... |
|
Any chance to have the external storage tests also running on Jenkins? - Wouldn't even have to run on all PRs but at least on the release branches it might be a nice addition. \cc @DeepDiver1975 |
Fixed the following external storages to not connect in the constructor,
but do it on-demand when getConnection() is called.
Prerequisite for the fix of #10820
Please review/test @butonic @bantu @icewind1991
I tested SFTP (manual+unit tests) and SWIFT (manual+unit tests against devstack) and this change did not break them.