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

metad crash when create space #3659

Closed
Shylock-Hg opened this issue Jan 7, 2022 · 0 comments · Fixed by #3660
Closed

metad crash when create space #3659

Shylock-Hg opened this issue Jan 7, 2022 · 0 comments · Fixed by #3660
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@Shylock-Hg
Copy link
Contributor

Please check the FAQ documentation before raising an issue

Describe the bug (required)

Found in https://github.com/vesoft-inc/nebula-cpp/runs/4735885374?check_suite_focus=true , when execute "CREATE SPACE IF NOT EXISTS storage_client_test(vid_type=FIXED_STRING(8),"
"partition_num=1);USE storage_client_test"

log:

Log file created at: 2022/01/07 14:23:20
Running on machine: 415d4ea14471
Running duration (h:mm:ss): 0:00:00
Log line format: [IWEF]yyyymmdd hh:mm:ss.uuuuuu threadid file:line] msg
E20220107 14:23:20.023806  1562 FileUtils.cpp:377] Failed to read the directory "/usr/local/nebula/data/meta/nebula" (2): No such file or directory
E20220107 14:23:21.991555  1842 ActiveHostsMan.cpp:306] Get last update time failed, error: E_KEY_NOT_FOUND
E20220107 14:23:22.030218  1841 HBProcessor.cpp:38] Machine "127.0.0.1":9779 is not registed
F20220107 14:23:31.173518  1841 EitherOr.h:408] Check failed: isLeftType() 
E20220107 14:23:32.213737  1839 SessionManagerProcessor.cpp:143] Session id `1641536611123060' not found
E20220107 14:23:32.215435  1849 SessionManagerProcessor.cpp:143] Session id `1641536611123060' not found
F20220107 14:23:31.173518  1841 EitherOr.h:408] Check failed: isLeftType() 
*** Check failure stack trace: ***
*** Aborted at 1641536611 (Unix time, try 'date -d @1641536611') ***
*** Signal 6 (SIGABRT) (0x61a) received by PID 1562 (pthread TID 0x7f2e809fe700) (linux TID 1841) (maybe from PID 1562, UID 0) (code: -6), stack trace: ***
/usr/local/nebula/bin/nebula-metad(_ZN5folly10symbolizer17getStackTraceSafeEPmm+0x31)[0x24348b1]
/usr/local/nebula/bin/nebula-metad(_ZN5folly10symbolizer21SafeStackTracePrinter15printStackTraceEb+0x26)[0x242bdb6]
/usr/local/nebula/bin/nebula-metad[0x2429d47]
/lib64/libpthread.so.0(+0xf62f)[0x7f2ea429362f]
/lib64/libc.so.6(gsignal+0x37)[0x7f2ea3eec387]
/lib64/libc.so.6(abort+0x147)[0x7f2ea3eeda77]
/usr/local/nebula/bin/nebula-metad[0x245d5b9]
/usr/local/nebula/bin/nebula-metad[0x24606b3]
/usr/local/nebula/bin/nebula-metad[0x245d088]
/usr/local/nebula/bin/nebula-metad[0x2460d68]
/usr/local/nebula/bin/nebula-metad(_ZNKR6nebula8EitherOrINS_4cpp29ErrorCodeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4leftEv+0x5c)[0x11246cc]
/usr/local/nebula/bin/nebula-metad(_ZN6nebula5errorINS_4cpp29ErrorCodeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_RKNS_8EitherOrIS9_T0_EE+0x8)[0x11246d8]
/usr/local/nebula/bin/nebula-metad(_ZN6nebula4meta20CreateSpaceProcessor7processERKNS0_4cpp214CreateSpaceReqE+0x1404)[0x1127394]
/usr/local/nebula/bin/nebula-metad(_ZN6nebula4meta18MetaServiceHandler18future_createSpaceERKNS0_4cpp214CreateSpaceReqE+0x2f)[0x10f0baf]
/usr/local/nebula/bin/nebula-metad(_ZN6nebula4meta4cpp215MetaServiceSvIf20async_tm_createSpaceESt10unique_ptrIN6apache6thrift15HandlerCallbackINS1_8ExecRespEEESt14default_deleteIS8_EERKNS1_14CreateSpaceReqE+0x8e)[0x16e5a8e]
/usr/local/nebula/bin/nebula-metad(_ZN6nebula4meta4cpp225MetaServiceAsyncProcessor19process_createSpaceIN6apache6thrift21CompactProtocolReaderENS5_21CompactProtocolWriterEEEvSt10unique_ptrINS5_22ResponseChannelRequestENS5_16RequestsRegistry7DeleterEEONS5_27SerializedCompressedRequestEPNS5_18Cpp2RequestContextEPN5folly9EventBaseEPNS5_11concurrency13ThreadManagerE+0x28e)[0x179dc8e]
/usr/local/nebula/bin/nebula-metad(_ZN6apache6thrift11RequestTaskIN6nebula4meta4cpp225MetaServiceAsyncProcessorEE3runEv+0x62)[0x16f84a2]
/usr/local/nebula/bin/nebula-metad(_ZTv0_n32_N6apache6thrift11concurrency14FunctionRunner3runEv+0x96)[0x1fb36c6]
/usr/local/nebula/bin/nebula-metad(_ZN6apache6thrift11concurrency13ThreadManager4Impl6Worker3runEv+0x1c7)[0x2111467]
/usr/local/nebula/bin/nebula-metad(_ZN6apache6thrift11concurrency13PthreadThread10threadMainEPv+0xcd)[0x211356d]
/lib64/libpthread.so.0(+0x7ea4)[0x7f2ea428bea4]
/lib64/libc.so.6(clone+0x6c)[0x7f2ea3fb4b0c]
(safe mode, symbolizer not available)

Your Environments (required)

  • OS: uname -a
  • Compiler: g++ --version or clang++ --version
  • CPU: lscpu
  • Commit id (e.g. a3ffc7d8) nightly-2022.01.06

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

@Shylock-Hg Shylock-Hg added the type/bug Type: something is unexpected label Jan 7, 2022
@Shylock-Hg Shylock-Hg linked a pull request Jan 7, 2022 that will close this issue
11 tasks
@Sophie-Xie Sophie-Xie added this to the v3.0.0 milestone Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants