This is an automated email from the ASF dual-hosted git repository.

hellostephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 4ba4638e3f4 [Fix]quick fix for duplicate wg id (#51702)
4ba4638e3f4 is described below

commit 4ba4638e3f4aaeab333856bed97559f999a4dd6a
Author: wangbo <wan...@selectdb.com>
AuthorDate: Fri Jun 13 15:22:50 2025 +0800

    [Fix]quick fix for duplicate wg id (#51702)
    
    ### What problem does this PR solve?
    
    introduced by https://github.com/apache/doris/pull/50817
    
    A quick fix for duplicate workload group id.
    
    reason:
    ```
     Unexpected error: find too much wg in BE; input 
id=1749790916566,1749790916566,
    ```
    Duplicate wg id may cause DCHECK failed.
---
 be/src/runtime/workload_group/workload_group_manager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/runtime/workload_group/workload_group_manager.cpp 
b/be/src/runtime/workload_group/workload_group_manager.cpp
index efcdd8965b6..c84617adc2e 100644
--- a/be/src/runtime/workload_group/workload_group_manager.cpp
+++ b/be/src/runtime/workload_group/workload_group_manager.cpp
@@ -124,7 +124,7 @@ WorkloadGroupPtr 
WorkloadGroupMgr::get_group(std::vector<uint64_t>& id_list) {
         }
         LOG(ERROR) << ss.str();
     }
-    DCHECK(wg_cout <= 1);
+    // DCHECK(wg_cout <= 1);
 
     if (ret_wg == nullptr) {
         std::shared_lock<std::shared_mutex> r_lock(_group_mutex);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to