Repository navigation
Revert onelake_bearer_token PR - #109597
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
Workflow [PR], commit [5ce9faa] Summary: ❌
AI ReviewSummaryThis PR reverts Findings❌ Blockers
Tests
Final Verdict
|
| DECLARE(String, onelake_client_id, "", "Client id from azure", 0) \ | ||
| DECLARE(String, onelake_client_secret, "", "Client secret from azure", 0) \ | ||
| DECLARE(String, onelake_bearer_token, "", "Pre-obtained bearer token for OneLake, scoped to https://storage.azure.com. The token is static and not refreshed, so a long-lived database must be recreated once it expires", 0) \ | ||
| DECLARE(Bool, onelake_use_blob_endpoint, true, "Use the Blob endpoint (.blob.fabric.microsoft.com) for OneLake. When disabled, the DFS endpoint (.dfs.fabric.microsoft.com) is used instead", 0) \ |
There was a problem hiding this comment.
Removing the onelake_bearer_token setting definition here is not backward compatible. registerDatabaseDataLake still calls database_settings.loadFromQuery(*database_engine_define, args.create_query.attach) during ATTACH, and loadFromQuery forwards every persisted setting into impl->applyChanges unchanged. That means any node that already has a DataLakeCatalog(... SETTINGS onelake_bearer_token = '...') metadata file from the reverted feature will now fail with UNKNOWN_SETTING before lazy init, so restart is still blocked. Please keep a legacy attach-time parser/no-op for this setting (and keep it masked in SHOW CREATE), or strip it from old metadata before loadFromQuery runs.
There was a problem hiding this comment.
This is fine. It was not part of a release, I am reverting it a few days after landing.
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered: 22/56 (39.29%) · Uncovered code |
Revert onelake_bearer_token PR
Remove
onelake_bearer_tokenoption for OneLake catalogs. Currently, if the token is expired, the database fails to attach, and the node cannot come up.Will investigate and remerge with a fix.
Changelog category (leave one):
Version info
26.7.1.575(included in26.7and later)