Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BE crash after updating to the latest version of branch main #2298

Closed
tiannan-sr opened this issue Dec 20, 2021 · 1 comment
Closed

BE crash after updating to the latest version of branch main #2298

tiannan-sr opened this issue Dec 20, 2021 · 1 comment
Labels
type/bug Something isn't working

Comments

@tiannan-sr
Copy link

tiannan-sr commented Dec 20, 2021

Steps to reproduce the behavior (Required)

  1. update to the latest version of branch main
  2. BE crash:
*** Aborted at 1639968410 (unix time) try "date -d @1639968410" if you are using GNU date ***
PC: @          0x1748bf3 starrocks::TabletManager::load_tablet_from_meta()
*** SIGSEGV (@0x20) received by PID 17051 (TID 0x7f05837fd700) from PID 32; stack trace: ***
    @          0x3382202 google::(anonymous namespace)::FailureSignalHandler()
    @     0x7f058680a630 (unknown)
    @          0x1748bf3 starrocks::TabletManager::load_tablet_from_meta()
    @          0x172bf48 _ZNSt17_Function_handlerIFbllRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEZN9starrocks7DataDir4loadEvEUlliS7_E0_E9_M_invokeERKSt9_Any_dataOlSG_S7_
    @          0x175a8fc _ZNSt17_Function_handlerIFbSt17basic_string_viewIcSt11char_traitsIcEES3_EZN9starrocks17TabletMetaManager16traverse_headersEPNS5_7KVStoreERKSt8functionIFbllRKNSt7__cxx1112basic_stringIcS2_SaIcEEEEEEUlS3_S3_E_E9_M_invokeERKSt9_Any_dataOS3_SP_
    @          0x188f573 starrocks::KVStore::iterate()
    @          0x175caad starrocks::TabletMetaManager::traverse_headers()
    @          0x172d5ca starrocks::DataDir::load()
    @          0x1714529 _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN9starrocks13StorageEngine14load_data_dirsERKSt6vectorIPNS3_7DataDirESaIS7_EEEUlvE_EEEEE6_M_runEv
    @          0x4daece0 execute_native_thread_routine
    @     0x7f0586802ea5 start_thread
    @     0x7f0585c079fd __clone
    @                0x0 (unknown)

Expected behavior (Required)

The cluster status is normal after updating to the latest version of main

Real behavior (Required)

BE crash after updating to the latest version of branch main

StarRocks version (Required)

  • You can get the StarRocks version by executing SQL select current_version()
@Linkerist
Copy link
Contributor

solution0: do not use the data generated by git log 28cf7f..ced65b these two days main upstream, there existing an issue, missing a field in meta, if use code before 28cf7f, will check this field, cause be start failure.
solution1: or use the data, but need use the main upstream after ced65b, it will not check this field.

caneGuy pushed a commit to caneGuy/starrocks that referenced this issue Mar 28, 2023
修改语句为:“可以在删除并重新创建 FE 的元数据 目录 后,重新开始部署”

(cherry picked from commit accb5ba)

Co-authored-by: 吴梦龙 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants