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

Core in rebuild index #2794

Closed
critical27 opened this issue Sep 6, 2021 · 0 comments · Fixed by #2795
Closed

Core in rebuild index #2794

critical27 opened this issue Sep 6, 2021 · 0 comments · Fixed by #2795
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@critical27
Copy link
Contributor

critical27 commented Sep 6, 2021

There must be something wrong with RebuildIndex or Job/Task Mananger. Perhaps:

JobId + TaskId is not unique or the tasks schedule is out of orders.

#0  0x00000000025cc119 in std::__detail::_Equal_helper<std::pair<int, int>, std::pair<std::pair<int, int> const, folly::BasicTokenBucket<std::chrono::_V2::steady_clock> >, std::__detail::_Select1st, std::equal_to<std::pair<int, int> >, unsigned long, true>::_S_equals (
    __eq=..., __extract=..., __k=..., __c=5426965902154393287, __n=0x0)
    at /opt/vesoft/toolset/clang/10.0.0/lib/gcc/x86_64-vesoft-linux/9.2.0/../../../../include/c++/9.2.0/bits/hashtable_policy.h:1450
#1  0x00000000025cc098 in std::__detail::_Hashtable_base<std::pair<int, int>, std::pair<std::pair<int, int> const, folly::BasicTokenBucket<std::chrono::_V2::steady_clock> >, std::__detail::_Select1st, std::equal_to<std::pair<int, int> >, std::hash<std::pair<int, int> >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<true, false, true> >::_M_equals (
    this=0x7f28d924dd00, __k=..., __c=5426965902154393287, __n=0x0)
    at /opt/vesoft/toolset/clang/10.0.0/lib/gcc/x86_64-vesoft-linux/9.2.0/../../../../include/c++/9.2.0/bits/hashtable_policy.h:1834
#2  0x00000000025cbfb6 in std::_Hashtable<std::pair<int, int>, std::pair<std::pair<int, int> const, folly::BasicTokenBucket<std::chrono::_V2::steady_clock> >, std::allocator<std::pair<std::pair<int, int> const, folly::BasicTokenBucket<std::chrono::_V2::steady_clock> > >, std::__detail::_Select1st, std::equal_to<std::pair<int, int> >, std::hash<std::pair<int, int> >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_find_before_node (this=0x7f28d924dd00, __n=2, __k=..., __code=5426965902154393287)
    at /opt/vesoft/toolset/clang/10.0.0/lib/gcc/x86_64-vesoft-linux/9.2.0/../../../../include/c++/9.2.0/bits/hashtable.h:1545
#3  0x00000000025cbe21 in std::_Hashtable<std::pair<int, int>, std::pair<std::pair<int, int> const, folly::BasicTokenBucket<std::chrono::_V2::steady_clock> >, std::allocator<std::pair<std::pair<int, int> const, folly::BasicTokenBucket<std::chrono::_V2::steady_clock> > >, std::__detail::_Select1st, std::equal_to<std::pair<int, int> >, std::hash<std::pair<int, int> >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_find_node (
    this=0x7f28d924dd00, __bkt=2, __key=..., __c=5426965902154393287)
    at /opt/vesoft/toolset/clang/10.0.0/lib/gcc/x86_64-vesoft-linux/9.2.0/../../../../include/c++/9.2.0/bits/hashtable.h:655
#4  0x00000000025cbd3c in std::_Hashtable<std::pair<int, int>, std::pair<std::pair<int, int> const, folly::BasicTokenBucket<std::chrono::_V2::steady_clock> >, std::allocator<std::pair<std::pair<int, int> const, folly::BasicTokenBucket<std::chrono::_V2::steady_clock> > >, std::__detail::_Select1st, std::equal_to<std::pair<int, int> >, std::hash<std::pair<int, int> >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::find (
    this=0x7f28d924dd00, __k=...)
    at /opt/vesoft/toolset/clang/10.0.0/lib/gcc/x86_64-vesoft-linux/9.2.0/../../../../include/c++/9.2.0/bits/hashtable.h:1419
#5  0x00000000025cbb4b in std::unordered_map<std::pair<int, int>, folly::BasicTokenBucket<std::chrono::_V2::steady_clock>, std::hash<std::pair<int, int> >, std::equal_to<std::pair<int, int> >, std::allocator<std::pair<std::pair<int, int> const, folly::BasicTokenBucket<std::chrono::_V2::steady_clock> > > >::find (this=0x7f28d924dd00, __x=...)
    at /opt/vesoft/toolset/clang/10.0.0/lib/gcc/x86_64-vesoft-linux/9.2.0/../../../../include/c++/9.2.0/bits/unordered_map.h:921
#6  0x00000000025cb211 in nebula::kvstore::RateLimiter::consume (this=0x7f28d924dd00, spaceId=2, partId=3, toConsume=328)
    at /home/yee.yi/Workspace/vesoft/nebula/src/kvstore/RateLimiter.h:43
#7  0x00000000025c96e0 in nebula::storage::RebuildIndexTask::writeData (this=0x7f2910646580, space=2, part=3, data=..., batchSize=328)
    at /home/yee.yi/Workspace/vesoft/nebula/src/storage/admin/RebuildIndexTask.cpp:225
#8  0x00000000025e0243 in nebula::storage::RebuildTagIndexTask::buildIndexGlobal (this=0x7f2910646580, space=2, part=3, items=...)
    at /home/yee.yi/Workspace/vesoft/nebula/src/storage/admin/RebuildTagIndexTask.cpp:144
#9  0x00000000025c6e2e in nebula::storage::RebuildIndexTask::invoke (this=0x7f2910646580, space=2, part=3, items=...)
    at /home/yee.yi/Workspace/vesoft/nebula/src/storage/admin/RebuildIndexTask.cpp:100
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