Gabriel39 commented on code in PR #71205:
URL: https://github.com/apache/doris/pull/71205#discussion_r4773178047


##########
fe/fe-connector/fe-connector-fluss/src/main/java/org/apache/doris/connector/fluss/FlussConnectorProvider.java:
##########
@@ -60,6 +60,8 @@ public Connector create(Map<String, String> properties, 
ConnectorContext context
     public ConnectorSecuritySurface securitySurface() {
         return 
ConnectorSecuritySurface.ofSensitiveKeys("fluss.client.security.sasl.username",
                         "fluss.client.security.sasl.password", 
"fluss.client.security.sasl.jaas.config")
+                .withSsrfEndpoints(FlussCatalogProperties.BOOTSTRAP_SERVERS)
+                
.withSsrfEndpointPrefixes(FlussCatalogProperties.LAKE_OPTION_PREFIX)

Review Comment:
   Fixed in db6c8acbdf56e57981594ee7b5d85604bc394804. The fix projects the 
nested lake namespace during statement admission and reuses the shared 
storage/HDFS rules before any table access. Complete nested HA context selects 
the physical RPC nodes; defaults, all four legacy Paimon storage aliases, 
unsupported proxy/delegated filesystem routes and metastore URI lists receive 
the same checks. It does not require a warehouse that will come from table 
metadata or reinterpret opaque credentials. CREATE/ALTER regressions include 
nested default rejection, a blocked second HA node, native/legacy proxy 
rejection, a valid HA catalog with opaque credentials, a successful unrelated 
ALTER and unchanged catalog properties after rejected ALTERs. Validation on the 
identical committed tree: 127 classes / 1,898 unit tests passed, FE Checkstyle 
and packaging passed, and the standard SQL suite passed 169 expected rejections 
plus 9 positive CREATE and 3 positive ALTER statements. The proprietary checker 
 and live external service behavior are outside these local checks.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to