We need a way to update database credentials atomically to avoid a race condition during credential rotation.
We need a way to update database credentials atomically to avoid a race condition during credential rotation.: a task in LegoFlow-SWE (Harbor dataset). The current HikariCP configuration allows setting the username and password only via individual setters: setUsername() and setPassword() . This…
The task
The current HikariCP configuration allows setting the username and password only via individual setters: `setUsername()` and `setPassword()`. This creates a small window where a new connection can be created with a mismatched pair (e.g., new username with old password) when both values are changed. This leads to…
Part of Lego-X/LegoFlow-SWE.