get_vnode_info must be called in main thread

Bug #1349659 reported by 王力锋
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sheepdog
Fix Committed
Undecided
Unassigned

Bug Description

I create a sheepdog cluster and enable the Erasure Code feature. My cluster has 10 nodes and the erasure code is 8:2.
However after one node of my cluster down, all the sheepdog service in other nodes are all down.

I enable the sheepdog features as follows.
./configure --enable-zookeeper --enable-sheepfs --enable-http --enable-debug

>The logs are as follows:
>Jul 28 11:03:43 DEBUG [main] zk_watcher(704) path:/sheepdog/member/IPv4 ip:192.168.10.11 port:7000, type:2, state:3
>Jul 28 11:03:43 DEBUG [main] update_epoch_log(26) update epoch: 2, 9
>Jul 28 11:03:43 DEBUG [main] for_each_object_in_path(200) /mnt/disk11, 00da5c25d0a3bbc8_0
>Jul 28 11:03:43 DEBUG [main] for_each_object_in_path(200) /mnt/disk10, 00da5c254560f353_6
>Jul 28 11:03:43 EMERG [main] thread_check_enter(62) PANIC: get_vnode_info must be called in main thread
>Jul 28 11:03:43 EMERG [main] thread_check_enter(62) PANIC: get_vnode_info must be called in main thread
>Jul 28 11:03:43 EMERG [main] crash_handler(267) sheep exits unexpectedly (Aborted).

Revision history for this message
王力锋 (wanglifeng0123) wrote :

The version of sheepdog is 0.8.2

Revision history for this message
Hitoshi Mitake (mitake-hitoshi) wrote :

It was already solved in the master branch. I backported the patches to stable-0.8.

Changed in sheepdog-project:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.