MonkeyCanCode opened a new pull request, #579:
URL: https://github.com/apache/polaris/pull/579

   The issue arises because the second curl command does not return the correct 
status code due to the behavior of `getOrCreateSessionSupplier`. When a realm 
is not found, the method triggers realm initialization. However, realm 
initialization only partially bootstraps the setup (it creates the sequence 
object with default and populated tables but no data). As a result, when the 
second curl command is executed, it attempts credential validation instead of 
the expected check, since the schema for the required tables is created during 
the realm initialization.
   
   To ensure consistent error handling and avoid premature credential 
validation, this PR adds an additional check to verify that the realm is fully 
bootstrapped before proceeding with credential validation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to