Lchangliang opened a new pull request, #10828:
URL: https://github.com/apache/doris/pull/10828
   # Proposed changes
   
   Issue Number: close #xxx
   
   ## Problem Summary:
   
   When upgrade BE  to the latest version, there is a certain probability that 
BE will not get up after restarting. 
   Core Stack
   ```
    6# __gnu_cxx::__normal_iterator<std::shared_ptr<doris::RowsetMeta> const*, 
std::vector<std::shared_ptr<doris::RowsetMeta>, 
std::allocator<std::shared_ptr<doris::RowsetMeta> > > > 
std::max_element<__gnu_cxx::__normal_iterator<std::shared_ptr<doris::RowsetMeta>
 const*, std::vector<std::shared_ptr<doris::RowsetMeta>, 
std::allocator<std::shared_ptr<doris::RowsetMeta> > > >, 
doris::Tablet::rowset_meta_with_max_schema_version(std::vector<std::shared_ptr<doris::RowsetMeta>,
 std::allocator<std::shared_ptr<doris::RowsetMeta> > > 
const&)::{lambda(std::shared_ptr<doris::RowsetMeta> const&, 
std::shared_ptr<doris::RowsetMeta> 
const&)#1}>(__gnu_cxx::__normal_iterator<std::shared_ptr<doris::RowsetMeta> 
const*, std::vector<std::shared_ptr<doris::RowsetMeta>, 
std::allocator<std::shared_ptr<doris::RowsetMeta> > > >, 
__gnu_cxx::__normal_iterator<std::shared_ptr<doris::RowsetMeta> const*, 
std::vector<std::shared_ptr<doris::RowsetMeta>, 
std::allocator<std::shared_ptr<doris::RowsetMeta> > > >, doris::
 
Tablet::rowset_meta_with_max_schema_version(std::vector<std::shared_ptr<doris::RowsetMeta>,
 std::allocator<std::shared_ptr<doris::RowsetMeta> > > 
const&)::{lambda(std::shared_ptr<doris::RowsetMeta> const&, 
std::shared_ptr<doris::RowsetMeta> const&)#1}) at 
/var/local/ldb_toolchain/include/c++/11/bits/stl_algo.h:5740
    7# 
doris::Tablet::rowset_meta_with_max_schema_version(std::vector<std::shared_ptr<doris::RowsetMeta>,
 std::allocator<std::shared_ptr<doris::RowsetMeta> > > const&) at 
/home/zcp/repo_center/doris_master/be/src/olap/tablet.cpp:380
    8# doris::Tablet::tablet_schema() const at 
/home/zcp/repo_center/doris_master/be/src/olap/tablet.cpp:1819
    9# doris::Tablet::create_rowset(std::shared_ptr<doris::RowsetMeta>, 
std::shared_ptr<doris::Rowset>*) at 
/home/zcp/repo_center/doris_master/be/src/olap/tablet.cpp:1647
   10# doris::DataDir::load() at 
/home/zcp/repo_center/doris_master/be/src/olap/data_dir.cpp:462
   11# doris::StorageEngine::load_data_dirs(std::vector<doris::DataDir*, 
std::allocator<doris::DataDir*> > const&)::{lambda()#1}::operator()() const at 
/home/zcp/repo_center/doris_master/be/src/olap/storage_engine.cpp:179
   12# void std::__invoke_impl<void, 
doris::StorageEngine::load_data_dirs(std::vector<doris::DataDir*, 
std::allocator<doris::DataDir*> > const&)::{lambda()#1}>(std::__invoke_other, 
doris::StorageEngine::load_data_dirs(std::vector<doris::DataDir*, 
std::allocator<doris::DataDir*> > const&)::{lambda()#1}&&) at 
/var/local/ldb_toolchain/include/c++/11/bits/invoke.h:61
   ```
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: (Yes/No/I Don't know)
   2. Has unit tests been added: (Yes/No/No Need)
   3. Has document been added or modified: (Yes/No/No Need)
   4. Does it need to update dependencies: (Yes/No)
   5. Are there any changes that cannot be rolled back: (Yes/No)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to