quarkus-vault icon indicating copy to clipboard operation
quarkus-vault copied to clipboard

First time fetch in Vault Config Source done multiple times

Open vsevel opened this issue 9 months ago • 0 comments

This is related to this:

        if (firstTime) {
            log.debug("fetch secrets first time with attempts = " + vaultRuntimeConfig.mpConfigInitialAttempts());
            fetchSecretsFirstTime(properties);
            firstTime = false;

If there is a failure, firstTime is still true, and next attempt will be done as if this was the first time. As a result, the application repeats multiple times, several load attempts, delaying the eventual failure of application startup.

vsevel avatar Apr 30 '24 09:04 vsevel