HUE-5306 [fb] Remove bucket cache from S3 browser to force re-authentication

Review Request #12834 - Created April 13, 2018 and updated

Brandon Scheller
hue
HUE-5306
hue

From: Scheller bschelle@amazon.com
Date: Tue, 6 Mar 2018 10:07:55 -0800
Subject: HUE-5306 [fb] Remove bucket cache from S3 browser to force re-authentication

Removes bucket cache from S3 browser to force re-authentication through s3connection. This also allows Hue S3 browser to refresh on external s3 changes.

Manual testing of s3 browser

  1. This looks good. And in practice, there is not much of a performance issue? (especially that the left assist browser keeps the list).

    Aonther alternative might be to invalidate the cache on the manual refresh icon, but better not to require anything for end users.

    Feel free to send a pull request or a git-format-patch file

    1. I considered it but I agree it's better to not leave anything for end users. The performance loss during testing was not noticable anyway.
      I just opened the pull request too

  2. 
      
Loading...