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

dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 774808f7ec1 branch-3.0: [fix](be java) be hang while 
enable_java_support #52818 (#52823)
774808f7ec1 is described below

commit 774808f7ec154d4b39d2bfc72371ccae0c748c2f
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jul 7 14:43:39 2025 +0800

    branch-3.0: [fix](be java) be hang while enable_java_support #52818 (#52823)
    
    Cherry-picked from #52818
    
    Co-authored-by: camby <[email protected]>
---
 be/src/olap/rowset/rowset_meta.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/rowset/rowset_meta.cpp 
b/be/src/olap/rowset/rowset_meta.cpp
index c9851cdc5fc..0da212ea881 100644
--- a/be/src/olap/rowset/rowset_meta.cpp
+++ b/be/src/olap/rowset/rowset_meta.cpp
@@ -229,7 +229,7 @@ void RowsetMeta::set_segments_key_bounds(const 
std::vector<KeyBoundsPB>& segment
 
     int32_t truncation_threshold = 
config::segments_key_bounds_truncation_threshold;
     if (config::random_segments_key_bounds_truncation) {
-        static thread_local std::mt19937 generator(std::random_device {}());
+        std::mt19937 generator(std::random_device {}());
         std::uniform_int_distribution<int> distribution(-10, 40);
         truncation_threshold = distribution(generator);
     }


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

Reply via email to