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


##########
regression-test/suites/external_table_p0/test_catalog_property_update_concurrency.groovy:
##########
@@ -0,0 +1,80 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+import java.util.concurrent.CountDownLatch
+import java.util.concurrent.TimeUnit
+
+suite("test_catalog_property_update_concurrency", "p0,external") {
+    sql "DROP CATALOG IF EXISTS test_property_update_concurrency"
+    sql "DROP CATALOG IF EXISTS test_property_update_unrelated"
+    sql """
+        CREATE CATALOG test_property_update_concurrency PROPERTIES (
+            "type" = "hms",
+            "hive.metastore.uris" = "thrift://127.0.0.1:9083",
+            "test_connection" = "false",
+            "meta.cache.max-weight" = "128MB",
+            "meta.cache.hive.file.max-weight" = "64MB"
+        )
+    """
+    sql """
+        CREATE CATALOG test_property_update_unrelated PROPERTIES (
+            "type" = "hms",
+            "hive.metastore.uris" = "thrift://127.0.0.1:9083",
+            "test_connection" = "false"
+        )
+    """
+
+    CountDownLatch ready = new CountDownLatch(2)
+    CountDownLatch start = new CountDownLatch(1)
+    def updateBudget = thread("catalog-update-total-budget") {

Review Comment:
   Fixed in 25c09dc44074. Both ALTER workers now use extraThread, retaining the 
dispatch barrier and cleanup. The old implementation reproduces the barrier 
timeout with -actionParallel 1; the corrected suite passes standard regression 
comparison with one worker and with the default action pool. Expected output 
remains unchanged. These runs use the master FE built from this branch and an 
isolated cached BE 4.0.8-rc02 distribution, as documented in the PR.



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